forked from apache/netbeans
-
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.
Merge pull request apache#849 from arusinha/netbeans-862
[NETBEANS-862] Added auto-complete support for var keyword in JDK-11 …
- Loading branch information
Showing
19 changed files
with
1,242 additions
and
1 deletion.
There are no files selected for viewing
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
110 changes: 110 additions & 0 deletions
110
.../modules/java/completion/JavaCompletionTaskTest/1.8/lambdaParameterTypesExcludingVar.pass
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,110 @@ | ||
boolean | ||
byte | ||
char | ||
double | ||
final | ||
float | ||
int | ||
long | ||
short | ||
AbstractMethodError | ||
Appendable | ||
ArithmeticException | ||
ArrayIndexOutOfBoundsException | ||
ArrayStoreException | ||
AssertionError | ||
AutoCloseable | ||
Boolean | ||
BootstrapMethodError | ||
Byte | ||
CharSequence | ||
Character | ||
Class | ||
ClassCastException | ||
ClassCircularityError | ||
ClassFormatError | ||
ClassLoader | ||
ClassNotFoundException | ||
ClassValue | ||
CloneNotSupportedException | ||
Cloneable | ||
Comparable | ||
Compiler | ||
Deprecated | ||
Double | ||
Enum | ||
EnumConstantNotPresentException | ||
Error | ||
Exception | ||
ExceptionInInitializerError | ||
Float | ||
Foo | ||
FunctionalInterface | ||
IllegalAccessError | ||
IllegalAccessException | ||
IllegalArgumentException | ||
IllegalMonitorStateException | ||
IllegalStateException | ||
IllegalThreadStateException | ||
IncompatibleClassChangeError | ||
IndexOutOfBoundsException | ||
InheritableThreadLocal | ||
InstantiationError | ||
InstantiationException | ||
Integer | ||
InternalError | ||
InterruptedException | ||
Iterable | ||
LinkageError | ||
Long | ||
Math | ||
NegativeArraySizeException | ||
NoClassDefFoundError | ||
NoSuchFieldError | ||
NoSuchFieldException | ||
NoSuchMethodError | ||
NoSuchMethodException | ||
NullPointerException | ||
Number | ||
NumberFormatException | ||
Object | ||
OutOfMemoryError | ||
Override | ||
Package | ||
Process | ||
ProcessBuilder | ||
Readable | ||
ReflectiveOperationException | ||
Runnable | ||
Runtime | ||
RuntimeException | ||
RuntimePermission | ||
SafeVarargs | ||
SecurityException | ||
SecurityManager | ||
Short | ||
StackOverflowError | ||
StackTraceElement | ||
StrictMath | ||
String | ||
StringBuffer | ||
StringBuilder | ||
StringIndexOutOfBoundsException | ||
SuppressWarnings | ||
System | ||
Test | ||
TestAnnotation | ||
Thread | ||
ThreadDeath | ||
ThreadGroup | ||
ThreadLocal | ||
Throwable | ||
TypeNotPresentException | ||
UnknownError | ||
UnsatisfiedLinkError | ||
UnsupportedClassVersionError | ||
UnsupportedOperationException | ||
VerifyError | ||
VirtualMachineError | ||
Void | ||
java |
117 changes: 117 additions & 0 deletions
117
.../modules/java/completion/JavaCompletionTaskTest/1.8/lambdaParameterTypesIncludingVar.pass
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,117 @@ | ||
Foo | ||
String[] args | ||
Test t | ||
public static void main(String[] args) | ||
boolean | ||
byte | ||
char | ||
double | ||
false | ||
float | ||
int | ||
long | ||
new | ||
null | ||
short | ||
true | ||
var | ||
AbstractMethodError | ||
Appendable | ||
ArithmeticException | ||
ArrayIndexOutOfBoundsException | ||
ArrayStoreException | ||
AssertionError | ||
AutoCloseable | ||
Boolean | ||
BootstrapMethodError | ||
Byte | ||
CharSequence | ||
Character | ||
Class | ||
ClassCastException | ||
ClassCircularityError | ||
ClassFormatError | ||
ClassLoader | ||
ClassNotFoundException | ||
ClassValue | ||
CloneNotSupportedException | ||
Cloneable | ||
Comparable | ||
Compiler | ||
Deprecated | ||
Double | ||
Enum | ||
EnumConstantNotPresentException | ||
Error | ||
Exception | ||
ExceptionInInitializerError | ||
Float | ||
FunctionalInterface | ||
IllegalAccessError | ||
IllegalAccessException | ||
IllegalArgumentException | ||
IllegalMonitorStateException | ||
IllegalStateException | ||
IllegalThreadStateException | ||
IncompatibleClassChangeError | ||
IndexOutOfBoundsException | ||
InheritableThreadLocal | ||
InstantiationError | ||
InstantiationException | ||
Integer | ||
InternalError | ||
InterruptedException | ||
Iterable | ||
LinkageError | ||
Long | ||
Math | ||
NegativeArraySizeException | ||
NoClassDefFoundError | ||
NoSuchFieldError | ||
NoSuchFieldException | ||
NoSuchMethodError | ||
NoSuchMethodException | ||
NullPointerException | ||
Number | ||
NumberFormatException | ||
Object | ||
OutOfMemoryError | ||
Override | ||
Package | ||
Process | ||
ProcessBuilder | ||
Readable | ||
ReflectiveOperationException | ||
Runnable | ||
Runtime | ||
RuntimeException | ||
RuntimePermission | ||
SafeVarargs | ||
SecurityException | ||
SecurityManager | ||
Short | ||
StackOverflowError | ||
StackTraceElement | ||
StrictMath | ||
String | ||
StringBuffer | ||
StringBuilder | ||
StringIndexOutOfBoundsException | ||
SuppressWarnings | ||
System | ||
Test | ||
TestAnnotation | ||
Thread | ||
ThreadDeath | ||
ThreadGroup | ||
ThreadLocal | ||
Throwable | ||
TypeNotPresentException | ||
UnknownError | ||
UnsatisfiedLinkError | ||
UnsupportedClassVersionError | ||
UnsupportedOperationException | ||
VerifyError | ||
VirtualMachineError | ||
Void | ||
java |
Oops, something went wrong.