forked from JavaTX/JavaCompilerCore
fc8f11ebb1
new file: src/test/java/insertGenerics/TestAny.java new file: src/test/java/insertGenerics/TestTPHsAndGenerics2.java new file: src/test/resources/insertGenericsJav/TestAny.jav modified: src/test/resources/insertGenericsJav/TestReturnVar.jav modified: src/test/resources/insertGenericsJav/TestSecondLineOfClassConstraints.jav new file: src/test/resources/insertGenericsJav/TestTPHsAndGenerics2.jav
13 lines
167 B
Java
13 lines
167 B
Java
class Example {
|
|
a;
|
|
b = a;
|
|
anyMethod() {
|
|
var f;
|
|
return f;
|
|
}
|
|
otherMethod(e) {
|
|
b = e;
|
|
e = a;
|
|
return e;
|
|
}
|
|
} |