mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-16 22:51:17 +07:00
26 lines
479 B
Plaintext
26 lines
479 B
Plaintext
import javax.swing.JComponent;
|
|
|
|
class IdentityComplete {
|
|
private int myField;
|
|
|
|
public void method() {
|
|
class MethodLocal {
|
|
private int myMethodLocalInt;
|
|
public void methodLocalInc() {
|
|
myMethodLocalInt++;
|
|
}
|
|
}
|
|
|
|
JComponent methodAnonymous = new JComponent() {
|
|
private int myMethodAnonymousInt;
|
|
public void methodAnonymousInc() {
|
|
myMethodAnonymousInt++;
|
|
}
|
|
};
|
|
}
|
|
|
|
public void context() {
|
|
method();
|
|
}
|
|
}
|