mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-16 22:51:17 +07:00
19 lines
405 B
Plaintext
19 lines
405 B
Plaintext
import javax.swing.JComponent;
|
|
|
|
class IdentityComplete {
|
|
private int myField;
|
|
|
|
public void method(boolean methodPar) {
|
|
String methodVar = "var value";
|
|
myField += methodPar ? methodVar.length() : this.hashCode();
|
|
|
|
JComponent methodAnonymous = new JComponent() {
|
|
private int myMethodAnonymousInt;
|
|
};
|
|
}
|
|
|
|
public void context(boolean contextPar) {
|
|
method(contextPar);
|
|
}
|
|
}
|