forked from eclipse-jdtls/eclipse.jdt.ls
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: 0dinD <zerodind@gmail.com>
- Loading branch information
Showing
12 changed files
with
208 additions
and
185 deletions.
There are no files selected for viewing
7 changes: 7 additions & 0 deletions
7
org.eclipse.jdt.ls.tests/projects/eclipse/semantic-tokens/.classpath
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<classpath> | ||
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8"/> | ||
<classpathentry kind="lib" path="foo.jar" sourcepath="foo-sources.jar"/> | ||
<classpathentry kind="src" path="src"/> | ||
<classpathentry kind="output" path="bin"/> | ||
</classpath> |
17 changes: 17 additions & 0 deletions
17
org.eclipse.jdt.ls.tests/projects/eclipse/semantic-tokens/.project
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<projectDescription> | ||
<name>semantic-tokens</name> | ||
<comment></comment> | ||
<projects> | ||
</projects> | ||
<buildSpec> | ||
<buildCommand> | ||
<name>org.eclipse.jdt.core.javabuilder</name> | ||
<arguments> | ||
</arguments> | ||
</buildCommand> | ||
</buildSpec> | ||
<natures> | ||
<nature>org.eclipse.jdt.core.javanature</nature> | ||
</natures> | ||
</projectDescription> |
Binary file added
BIN
+419 Bytes
org.eclipse.jdt.ls.tests/projects/eclipse/semantic-tokens/foo-sources.jar
Binary file not shown.
Binary file not shown.
14 changes: 14 additions & 0 deletions
14
org.eclipse.jdt.ls.tests/projects/eclipse/semantic-tokens/src/foo/Annotations.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
package foo; | ||
|
||
public class Annotations { | ||
|
||
@SuppressWarnings | ||
public void foo() {} | ||
|
||
@SuppressWarnings("all") | ||
public void bar() {} | ||
|
||
@SuppressWarnings(value = "all") | ||
public void baz() {} | ||
|
||
} |
14 changes: 14 additions & 0 deletions
14
org.eclipse.jdt.ls.tests/projects/eclipse/semantic-tokens/src/foo/Constructors.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
package foo; | ||
|
||
public class Constructors { | ||
|
||
private Constructors() { | ||
Constructors c = new Constructors(); | ||
Constructors.InnerClass i1 = new Constructors.InnerClass(); | ||
Constructors.InnerClass i2 = new @SomeAnnotation Constructors.InnerClass(); | ||
Constructors.InnerClass<String> i3 = new Constructors.InnerClass<String>(); | ||
} | ||
|
||
protected class InnerClass<T> {} | ||
|
||
} |
13 changes: 13 additions & 0 deletions
13
org.eclipse.jdt.ls.tests/projects/eclipse/semantic-tokens/src/foo/Methods.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
package foo; | ||
|
||
public class Methods { | ||
|
||
public void foo1() {} | ||
private void foo2() {} | ||
protected void foo3() {} | ||
static void foo4() {} | ||
@Deprecated | ||
void foo5() {} | ||
public static void main(String args[]) {} | ||
|
||
} |
11 changes: 11 additions & 0 deletions
11
org.eclipse.jdt.ls.tests/projects/eclipse/semantic-tokens/src/foo/Packages.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
package foo; | ||
|
||
import static java.lang.Math.PI; | ||
import java.util.List; | ||
import java.NonExistentClass; | ||
import java.nio.*; | ||
import java.*; | ||
|
||
public class Packages { | ||
|
||
} |
17 changes: 17 additions & 0 deletions
17
org.eclipse.jdt.ls.tests/projects/eclipse/semantic-tokens/src/foo/Properties.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
package foo; | ||
|
||
public class Properties { | ||
|
||
public String bar1; | ||
private int bar2; | ||
protected boolean bar3; | ||
final String bar4; | ||
static int bar5; | ||
public static final int bar6 = 1; | ||
|
||
enum SomeEnum { | ||
FIRST, | ||
SECOND | ||
} | ||
|
||
} |
13 changes: 13 additions & 0 deletions
13
org.eclipse.jdt.ls.tests/projects/eclipse/semantic-tokens/src/foo/Types.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
package foo; | ||
|
||
public class Types { | ||
|
||
public String // comments | ||
s1 = happy, | ||
s2, s3; | ||
class SomeClass<T> {} | ||
interface SomeInterface {} | ||
enum SomeEnum {} | ||
@interface SomeAnnotation {} | ||
|
||
} |
11 changes: 11 additions & 0 deletions
11
org.eclipse.jdt.ls.tests/projects/eclipse/semantic-tokens/src/foo/Variables.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
package foo; | ||
|
||
public class Variables { | ||
|
||
public static void foo(String string) { | ||
String bar1 = string; | ||
String bar2; | ||
final String bar3 = "test"; | ||
} | ||
|
||
} |
Oops, something went wrong.