|
|
@ -26,8 +26,11 @@ public class AnonymousClass { |
|
|
|
int var = 3; |
|
|
|
int var = 3; |
|
|
|
|
|
|
|
|
|
|
|
public void test() { |
|
|
|
public void test() { |
|
|
|
|
|
|
|
final long longVar = 5; |
|
|
|
|
|
|
|
final double dblVar = 3; |
|
|
|
|
|
|
|
|
|
|
|
class Hello { |
|
|
|
class Hello { |
|
|
|
int var = 4; |
|
|
|
int var = (int) longVar; |
|
|
|
|
|
|
|
|
|
|
|
Hello() { |
|
|
|
Hello() { |
|
|
|
System.err.println("construct"); |
|
|
|
System.err.println("construct"); |
|
|
@ -40,7 +43,7 @@ public class AnonymousClass { |
|
|
|
this.hashCode(); |
|
|
|
this.hashCode(); |
|
|
|
Inner.this.hashCode(); |
|
|
|
Inner.this.hashCode(); |
|
|
|
AnonymousClass.this.hashCode(); |
|
|
|
AnonymousClass.this.hashCode(); |
|
|
|
System.err.println("HelloWorld"); |
|
|
|
System.err.println("HelloWorld: "+dblVar); |
|
|
|
} |
|
|
|
} |
|
|
|
}; |
|
|
|
}; |
|
|
|
final Hello hi = new Hello(); |
|
|
|
final Hello hi = new Hello(); |
|
|
|