mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-25 21:16:44 +07:00
test++
This commit is contained in:
@@ -0,0 +1,37 @@
|
||||
import javax.swing.JComponent;
|
||||
|
||||
class IdentityComplete {
|
||||
private int myField;
|
||||
|
||||
public void <caret>method() {
|
||||
class MethodLocal {
|
||||
private int myMethodLocalInt;
|
||||
public void methodLocalInc() {
|
||||
myMethodLocalInt++;
|
||||
}
|
||||
}
|
||||
|
||||
JComponent methodAnonymous = new JComponent() {
|
||||
private int myMethodAnonymousInt;
|
||||
public void methodAnonymousInc() {
|
||||
myMethodAnonymousInt++;
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
public void context() {
|
||||
class ContextLocal {
|
||||
private int myContextLocalInt;
|
||||
public void contextLocalInc() {
|
||||
myContextLocalInt++;
|
||||
}
|
||||
}
|
||||
|
||||
JComponent contextAnonymous = new JComponent() {
|
||||
private int myContextAnonymousInt;
|
||||
public void contextAnonymousInc() {
|
||||
myContextAnonymousInt++;
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user