Files
lombok/test/transform/resource/before/GetterOnMethod.java
T
Roel Spilker fe7f0db2fc From now on it is possible to specify annotations to be placed on the method
or the parameter of the generated getter/setter methods.
2010-11-10 01:44:04 +01:00

16 lines
371 B
Java

import lombok.Getter;
class GetterOnMethod {
@lombok.Getter(onMethod=@Deprecated) int i;
@lombok.Getter(onMethod={@java.lang.Deprecated}) int j;
}
@lombok.Getter(onMethod=@Deprecated)
class GetterOnClassOnMethod {
int i;
int j;
}
@lombok.Getter(onMethod=@Deprecated)
class GetterOnClassAndOnAField {
int i;
@lombok.Getter(onMethod={@java.lang.Deprecated}) int j;
}