Annotation Type Builder
-
@Documented @Target(METHOD) @Retention(RUNTIME) public @interface Builder
Annotation applied to a method in an abstract class or interface to indicate that the method is an accessor for a property value. The method must take no parameters and return a non-void result type.
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description java.lang.String[]
value
Property identifier used to initialize property.
-
-
-
Element Detail
-
value
java.lang.String[] value
Property identifier used to initialize property. Default empty string indicates that the name should be derived from the method name as follows:- If the method name is getName, the default id is name.
- if the method name is isName, and the return type is boolean or Boolean, the default id is name.
- Otherwise, the method name is the default id.
- Returns:
- the property id.
- Default:
- {}
-
-