@Retention(value=RUNTIME)
public @interface Discard
Builder will look for all public getter method on a bean (except getClass whish is already discarded). it will then try to build a string for that value. If you don't want him to return a value for this getter, add this annoation to the method (method, not field)
Annotation must be set on the getter ex :
public String getMyString(){...} // will return myString:xyz @Discard public String getMyOtherString() {...} // won't return a value
Marshaller