Modifier and Type | Optional Element and Description |
---|---|
boolean |
generateMethods
Indicates whether the annotated property should have methods generated
for it.
|
boolean |
requiredParameter
Indicates whether the annotated property is required to be passed in
to the generated constructor.
|
public abstract boolean requiredParameter
public abstract boolean generateMethods
If this value is set to true
,
requiredParameter()
can only be set to false
if
the annotated property is a primitive.