mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-12 20:15:55 +00:00
39 lines
660 B
Java
39 lines
660 B
Java
class GetterOnMethod {
|
|
int i;
|
|
int j;
|
|
@Deprecated
|
|
@java.lang.SuppressWarnings("all")
|
|
public int getI() {
|
|
return this.i;
|
|
}
|
|
@java.lang.Deprecated
|
|
@java.lang.SuppressWarnings("all")
|
|
public int getJ() {
|
|
return this.j;
|
|
}
|
|
}
|
|
class GetterOnClassOnMethod {
|
|
int i;
|
|
int j;
|
|
@java.lang.SuppressWarnings("all")
|
|
public int getI() {
|
|
return this.i;
|
|
}
|
|
@java.lang.SuppressWarnings("all")
|
|
public int getJ() {
|
|
return this.j;
|
|
}
|
|
}
|
|
class GetterOnClassAndOnAField {
|
|
int i;
|
|
int j;
|
|
@java.lang.SuppressWarnings("all")
|
|
public int getI() {
|
|
return this.i;
|
|
}
|
|
@java.lang.Deprecated
|
|
@java.lang.SuppressWarnings("all")
|
|
public int getJ() {
|
|
return this.j;
|
|
}
|
|
} |