public class ParameterAnnotationContent extends AnnotatedField implements Parameter
| Constructor and Description |
|---|
ParameterAnnotationContent(String fieldName,
String className,
List<String> typeParameters,
boolean annotationOnMethod) |
ParameterAnnotationContent(String fieldName,
String alias,
String property,
String defaultValue,
boolean required,
boolean readonly,
String className,
List<String> typeParameters,
boolean annotationOnMethod) |
| Modifier and Type | Method and Description |
|---|---|
String |
alias() |
void |
alias(String alias) |
Class<? extends Annotation> |
annotationType() |
String |
defaultValue() |
void |
defaultValue(String defaultValue) |
boolean |
equals(Object o) |
String |
getClassName() |
List<String> |
getTypeParameters() |
int |
hashCode() |
boolean |
isAnnotationOnMethod() |
String |
name() |
void |
name(String name) |
String |
property() |
void |
property(String property) |
boolean |
readonly() |
void |
readonly(boolean readonly) |
boolean |
required() |
void |
required(boolean required) |
void |
setClassName(String className) |
String |
toString() |
compareTo, getFieldName, setFieldNamegetDeprecated, getDescription, getSince, setDeprecated, setDescription, setSincepublic ParameterAnnotationContent(String fieldName, String className, List<String> typeParameters, boolean annotationOnMethod)
public String defaultValue()
public void defaultValue(String defaultValue)
public boolean required()
public void required(boolean required)
public boolean readonly()
public void readonly(boolean readonly)
public Class<? extends Annotation> annotationType()
annotationType in interface Annotationpublic String getClassName()
public void setClassName(String className)
public List<String> getTypeParameters()
public boolean isAnnotationOnMethod()
public String toString()
toString in interface AnnotationtoString in class AnnotatedFieldpublic boolean equals(Object o)
equals in interface Annotationequals in class Objectpublic int hashCode()
hashCode in interface AnnotationhashCode in class ObjectCopyright © 2004–2024 The Apache Software Foundation. All rights reserved.