mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-16 22:51:17 +07:00
12 lines
241 B
Java
12 lines
241 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 method(int b) {
|
|
return super.method(this, b*2);
|
|
}
|
|
} |