mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-10-02 07:47:25 +07:00
18 lines
530 B
Java
18 lines
530 B
Java
public class A {
|
|
public void foo() {
|
|
setProperty("bar", 2);
|
|
org.codehaus.groovy.runtime.DefaultGroovyMethods.print(this, setProperty0(this, "bar", 3));
|
|
java.lang.String s = "a";
|
|
s.bar = 4;
|
|
org.codehaus.groovy.runtime.DefaultGroovyMethods.print(this, s.bar = 5);
|
|
|
|
org.codehaus.groovy.runtime.DefaultGroovyMethods.print(this, getProperty("bar"));
|
|
invokeMethod("print", new java.lang.Object[]{s.bar});
|
|
}
|
|
|
|
private static <Value>Value setProperty0(A propOwner, java.lang.String s, Value o) {
|
|
propOwner.setProperty(s, o);
|
|
return o;
|
|
}
|
|
}
|