forked from JavaTX/JavaCompilerCore
19 lines
223 B
Plaintext
19 lines
223 B
Plaintext
|
public class Access{
|
||
|
|
||
|
public static String staticMember="def";
|
||
|
|
||
|
public static staticMethod() {
|
||
|
return "abc";
|
||
|
}
|
||
|
|
||
|
}
|
||
|
|
||
|
class TestStaticAccess {
|
||
|
|
||
|
public method1(a,b) {
|
||
|
x;
|
||
|
a=x.staticMember;
|
||
|
b=x.staticMethod();
|
||
|
}
|
||
|
}
|