public class PropertyInfo extends Object
data object model
.Constructor and Description |
---|
PropertyInfo(boolean declared,
String name,
Doc doc,
TypeInfo type,
String setterMethod,
String adderMethod,
String getterMethod,
List<AnnotationValueInfo> annotations,
PropertyKind kind,
boolean jsonifiable,
boolean deprecated,
Text deprecatedDesc) |
Modifier and Type | Method and Description |
---|---|
String |
getAdderMethod() |
AnnotationValueInfo |
getAnnotation(String annotationName) |
List<AnnotationValueInfo> |
getAnnotations() |
Text |
getDeprecatedDesc() |
Doc |
getDoc() |
String |
getGetterMethod() |
PropertyKind |
getKind() |
String |
getName() |
String |
getSetterMethod() |
TypeInfo |
getType() |
boolean |
isAdder() |
boolean |
isAnnotated() |
boolean |
isDeclared() |
boolean |
isDeprecated() |
boolean |
isJsonifiable() |
boolean |
isList() |
boolean |
isMap() |
boolean |
isSet() |
boolean |
isSetter() |
boolean |
isValue() |
String |
toString() |
public PropertyInfo(boolean declared, String name, Doc doc, TypeInfo type, String setterMethod, String adderMethod, String getterMethod, List<AnnotationValueInfo> annotations, PropertyKind kind, boolean jsonifiable, boolean deprecated, Text deprecatedDesc)
public boolean isDeclared()
public Doc getDoc()
public PropertyKind getKind()
public String getName()
public TypeInfo getType()
public String getGetterMethod()
public String getSetterMethod()
public String getAdderMethod()
public List<AnnotationValueInfo> getAnnotations()
AnnotationValueInfo
for this propertypublic AnnotationValueInfo getAnnotation(String annotationName)
public boolean isValue()
public boolean isList()
java.util.List<T>
public boolean isSet()
java.util.Set<T>
public boolean isMap()
java.util.Map<String, T>
public boolean isSetter()
public boolean isAdder()
public boolean isAnnotated()
public boolean isJsonifiable()
public boolean isDeprecated()
true
if the property has a @Deprecated
annotationpublic Text getDeprecatedDesc()
Copyright © 2021 Eclipse. All rights reserved.