Class ParameterAnnotationContent
java.lang.Object
org.apache.maven.tools.plugin.extractor.annotations.datamodel.AnnotatedContent
org.apache.maven.tools.plugin.extractor.annotations.datamodel.AnnotatedField
org.apache.maven.tools.plugin.extractor.annotations.datamodel.ParameterAnnotationContent
- All Implemented Interfaces:
Annotation
- Since:
- 3.0
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionParameterAnnotationContent
(String fieldName, String alias, String property, String defaultValue, boolean required, boolean readonly, String className, List<String> typeParameters, boolean annotationOnMethod) ParameterAnnotationContent
(String fieldName, String className, List<String> typeParameters, boolean annotationOnMethod) -
Method Summary
Modifier and TypeMethodDescriptionalias()
void
Class
<? extends Annotation> void
defaultValue
(String defaultValue) boolean
int
hashCode()
boolean
name()
void
property()
void
boolean
readonly()
void
readonly
(boolean readonly) boolean
required()
void
required
(boolean required) void
setClassName
(String className) toString()
Methods inherited from class org.apache.maven.tools.plugin.extractor.annotations.datamodel.AnnotatedField
compareTo, getFieldName, setFieldName
Methods inherited from class org.apache.maven.tools.plugin.extractor.annotations.datamodel.AnnotatedContent
getDeprecated, getDescription, getSince, setDeprecated, setDescription, setSince
-
Field Details
-
name
-
alias
-
property
-
defaultValue
-
required
private boolean required -
readonly
private boolean readonly -
className
-
annotationOnMethod
private boolean annotationOnMethod -
typeParameters
-
-
Constructor Details
-
ParameterAnnotationContent
-
ParameterAnnotationContent
-
-
Method Details
-
name
-
name
-
alias
-
alias
-
property
-
property
-
defaultValue
-
defaultValue
-
required
public boolean required() -
required
public void required(boolean required) -
readonly
public boolean readonly() -
readonly
public void readonly(boolean readonly) -
annotationType
- Specified by:
annotationType
in interfaceAnnotation
-
getClassName
-
setClassName
-
getTypeParameters
-
isAnnotationOnMethod
public boolean isAnnotationOnMethod() -
toString
- Specified by:
toString
in interfaceAnnotation
- Overrides:
toString
in classAnnotatedField
-
equals
- Specified by:
equals
in interfaceAnnotation
- Overrides:
equals
in classObject
-
hashCode
public int hashCode()- Specified by:
hashCode
in interfaceAnnotation
- Overrides:
hashCode
in classObject
-