mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-03 05:20:17 +00:00
'optional' expected messages added. expanded some tests. Added a check if the bootclasspath supports a certain version, i.e. don't try to run a JDK7-only test if AutoClosable isn't available.
15 lines
226 B
Java
15 lines
226 B
Java
class MixGetterVal {
|
|
private int x;
|
|
public void m(int z) {
|
|
}
|
|
public void test() {
|
|
final int y = x;
|
|
m(y);
|
|
final int a = getX();
|
|
m(a);
|
|
}
|
|
@java.lang.SuppressWarnings("all")
|
|
public int getX() {
|
|
return this.x;
|
|
}
|
|
} |