|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Type
Regular Java Type
| Method Summary | ||
|---|---|---|
|
getAnnotationFieldValue(Class<? extends Annotation> anAnnotation,
String annotationField)
Returns the content of a field for a given annotation. |
|
String |
getClassName()
|
|
List<Field<Type>> |
getFields()
|
|
Method |
getFirstMethodAnnotatedWith(Class<? extends Annotation> anAnnotation)
|
|
List<Field<Type>> |
getInheritedFields()
|
|
List<Method<Type>> |
getMethods()
Get all methods defined in this class |
|
List<Method<Type>> |
getMethodsAnnotatedWith(Class<? extends Annotation> annotation)
Retrieves a list of methods annotated with annotation in the current module. |
|
Package |
getPackage()
|
|
String |
getPackageName()
|
|
String |
getPathToSourceFile()
|
|
Name |
getQualifiedName()
|
|
|
getRecursivelyAnnotationProcessorMethodsAnnotatedWith(Class<? extends Annotation> annotation)
Retrieves a list of methods annotated with annotation from the current module, and any of it parents. |
|
Method |
getRecursivelyFirstMethodAnnotatedWith(Class<? extends Annotation> anAnnotation)
|
|
|
getRecursivelyMethodsAnnotatedWith(Class<? extends Annotation> annotation,
AnnotationProcessorFactory factory)
Retrieves a list of methods annotated with annotation from the current module, and any of it parents. |
|
Type |
getSuperClass()
|
|
boolean |
hasFieldAnnotatedWith(Class<? extends Annotation> annotation)
|
|
boolean |
hasNoArgConstructor()
|
|
boolean |
hasSuperClass()
|
|
boolean |
inheritsFrom(Class clazz)
Returns whether this type inherits from the provided class |
|
boolean |
inheritsFrom(Type type)
Returns whether this type inherits from the provided type |
|
boolean |
isDsqlQueryObject()
|
|
boolean |
isInterface()
|
|
boolean |
isParametrized()
|
|
boolean |
isPrimitive()
|
|
| Methods inherited from interface org.mule.devkit.model.Identifiable |
|---|
accept, asType, asTypeMirror, getName, isReservedIdentifier, unwrap |
| Methods inherited from interface org.mule.devkit.model.Annotable |
|---|
getAnnotation, getAnnotationMirrors, hasAnnotation |
| Methods inherited from interface org.mule.devkit.model.Documentable |
|---|
getJavaDocParameterSummary, getJavaDocSummary, getJavaDocTagContent, getThrowsComment, hasJavaDocTag |
| Methods inherited from interface org.mule.devkit.model.Accessible |
|---|
isAbstract, isFinal, isPrivate, isProtected, isPublic, isStatic |
| Methods inherited from interface org.mule.devkit.model.Generifiable |
|---|
getTypeArguments, getXmlDeclaredChilds, hasTypeArguments |
| Methods inherited from interface org.mule.devkit.model.Typeable |
|---|
isArrayOrList, isBigDecimal, isBigInteger, isBoolean, isCalendar, isChar, isCollection, isComplexType, isComplexTypeWithGetterAndSetter, isDate, isDouble, isEnum, isFloat, isHttpCallback, isInteger, isLong, isMap, isNestedProcessor, isSet, isString, isURL, isXmlType |
| Method Detail |
|---|
List<Method<Type>> getMethodsAnnotatedWith(Class<? extends Annotation> annotation)
annotation in the current module. This means that if the parent
of the current module has more methods with the same annotation, it will not be retrieved.
annotation - The annotation class to discriminate the methods
Method getFirstMethodAnnotatedWith(Class<? extends Annotation> anAnnotation)
<T> List<T> getRecursivelyAnnotationProcessorMethodsAnnotatedWith(Class<? extends Annotation> annotation)
annotation from the current module, and any of it parents.
annotation - The annotation class to discriminate the methods
<T> List<T> getRecursivelyMethodsAnnotatedWith(Class<? extends Annotation> annotation,
AnnotationProcessorFactory factory)
annotation from the current module, and any of it parents.
annotation - The annotation class to discriminate the methodsfactory - a factory to instantiate AnnotationProcessors
factory instantiates) annotated with the parameter annotationMethod getRecursivelyFirstMethodAnnotatedWith(Class<? extends Annotation> anAnnotation)
List<Field<Type>> getFields()
List<Method<Type>> getMethods()
boolean hasNoArgConstructor()
boolean isParametrized()
boolean hasFieldAnnotatedWith(Class<? extends Annotation> annotation)
<T> T getAnnotationFieldValue(Class<? extends Annotation> anAnnotation,
String annotationField)
annotationField within the
anAnnotation is Class or Class[]. Use:
boolean isInterface()
boolean isPrimitive()
String getPathToSourceFile()
Package getPackage()
String getClassName()
Name getQualifiedName()
String getPackageName()
boolean inheritsFrom(Class clazz)
clazz - class to validate inheritance
boolean inheritsFrom(Type type)
type - Type to validate inheritance
List<Field<Type>> getInheritedFields()
Type getSuperClass()
boolean hasSuperClass()
boolean isDsqlQueryObject()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||