mirror of
https://github.com/tiennm99/lombok.git
synced 2026-05-27 22:26:17 +00:00
844995fc60
'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
188 B
Java
15 lines
188 B
Java
import lombok.Getter;
|
|
import lombok.val;
|
|
|
|
class MixGetterVal {
|
|
@Getter private int x;
|
|
|
|
public void m(int z) {}
|
|
public void test() {
|
|
val y = x;
|
|
m(y);
|
|
val a = getX();
|
|
m(a);
|
|
}
|
|
}
|