mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 06:05:01 +07:00
test++
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
public class Extracted {
|
||||
private int myT;
|
||||
|
||||
public Extracted() {
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
class Test {
|
||||
final Extracted extracted = new Extracted();
|
||||
|
||||
public int getMyT() {
|
||||
return extracted.getMyT();
|
||||
}
|
||||
void bar(){
|
||||
int i = extracted.getMyT();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
class Test {
|
||||
int myT;
|
||||
public int getMyT() {
|
||||
return myT;
|
||||
}
|
||||
void bar(){
|
||||
int i = myT;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user