Interface MethodInformationI
- All Known Implementing Classes:
MethodInformation
public interface MethodInformationI
-
Method Summary
Modifier and TypeMethodDescriptionReturns information about the type adapter for this method.Returns the parameterized type of the list, or null if this is not a list or the type of the list is unknownThe name of the method upon which the annotation was found.booleanisArray()booleanisKey()booleanisList()booleanboolean
-
Method Details
-
getOriginalMethod
AltMethod getOriginalMethod()- Returns:
- the originalMethod
-
getMethodType
MethodType getMethodType()- Returns:
- the methodType
-
getGetterSetterType
AltClass getGetterSetterType()- Returns:
- the getterSetterType
-
getRepresentedProperty
QName getRepresentedProperty()- Returns:
- the representedProperty
-
getDefaultValue
String getDefaultValue()- Returns:
- the defaultValue
-
getWrapperTag
String getWrapperTag()- Returns:
- The wrapper tag or null if there is none
-
getBaseChildType
AltClass getBaseChildType()- Returns:
- the baseChildType
-
isKey
boolean isKey()- Returns:
- true if this is a method that returns a key
-
isList
boolean isList()- Returns:
- true if the method is for a List
-
isArray
boolean isArray()- Returns:
- true if the method is for an array
-
isReference
boolean isReference()- Returns:
- true if this is a reference method
-
isRequired
boolean isRequired()- Returns:
- true if this is a required field
-
getDecapitalizedMethodProperty
String getDecapitalizedMethodProperty()- Returns:
- The decapitilized version of the property name
-
getFormat
Format getFormat()- Returns:
- Attribute, Element or Value
-
getListParameterizedType
AltClass getListParameterizedType()Returns the parameterized type of the list, or null if this is not a list or the type of the list is unknown- Returns:
- The fully qualified class name of the lists parameterized type
-
getAdapterInformation
AdapterInformation getAdapterInformation()Returns information about the type adapter for this method. Returns null if there is no adapter- Returns:
- The adapter information on this method or null if there is none
-
getOriginalMethodName
String getOriginalMethodName()The name of the method upon which the annotation was found. May be useful in add-on parsers that need to find other annotations on the method- Returns:
- The name of the original method on the interface
-