mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-16 22:51:17 +07:00
12 lines
230 B
Java
12 lines
230 B
Java
public class Foo {
|
|
public int myData;
|
|
static int <caret>method(Foo anObject, int i) {
|
|
return anObject.myData + i;
|
|
}
|
|
}
|
|
|
|
public class Bar extends Foo {
|
|
int a(int b) {
|
|
return method(this, b*2);
|
|
}
|
|
} |