public interface ItdTypeDetails extends MemberHoldingTypeDetails
For simplicity of implementation this is not a complete representation of all members and other information available via Java bytecode. For example, static initialisers and inner classes are unsupported.
| Modifier and Type | Method and Description |
|---|---|
org.springframework.roo.model.JavaType |
getAspect()
Returns the name of type which holds the aspect itself.
|
Set<org.springframework.roo.model.JavaType> |
getDeclarePrecedence()
Set of aspect declared on
declare precedence
AspectJ declaration. |
List<DeclaredFieldAnnotationDetails> |
getFieldAnnotations()
Lists the field-level annotations.
|
ClassOrInterfaceTypeDetails |
getGovernor()
Returns the
ClassOrInterfaceTypeDetails representing the governor
of this ITD. |
List<ClassOrInterfaceTypeDetails> |
getInnerTypes()
Lists the inner types.
|
List<DeclaredMethodAnnotationDetails> |
getMethodAnnotations()
Lists the method-level annotations.
|
Set<org.springframework.roo.model.JavaType> |
getRegisteredImports() |
boolean |
isPrivilegedAspect() |
extendsType, getDeclaredConstructor, getDeclaredConstructors, getDeclaredField, getDeclaredFields, getDeclaredInitializers, getDeclaredInnerType, getDeclaredInnerTypes, getDeclaredMethods, getDynamicFinderNames, getExtendsTypes, getField, getFieldsWithAnnotation, getImplementsTypes, getImports, getLayerEntities, getMethod, getMethod, getMethods, getUniqueFieldName, implementsAny, implementsTypegetName, getPhysicalTypeCategory, getTypegetAnnotation, getAnnotations, getTypeAnnotationgetDeclaredByMetadataId, getModifierorg.springframework.roo.model.JavaType getAspect()
Note that the type receiving the introductions can be determined via
PhysicalTypeDetails.getName().
JavaType (never null)List<DeclaredFieldAnnotationDetails> getFieldAnnotations()
This includes those annotations declared on the field, together with those defined via the ITD "declare @field: DestinationType: @Annotation" feature.
ClassOrInterfaceTypeDetails getGovernor()
ClassOrInterfaceTypeDetails representing the governor
of this ITD.ClassOrInterfaceTypeDetails (never null)List<ClassOrInterfaceTypeDetails> getInnerTypes()
List<DeclaredMethodAnnotationDetails> getMethodAnnotations()
This includes those annotations declared on the method, together with those defined via the ITD "declare @field: DestinationType: @Annotation" feature.
Set<org.springframework.roo.model.JavaType> getRegisteredImports()
boolean isPrivilegedAspect()
Set<org.springframework.roo.model.JavaType> getDeclarePrecedence()
declare precedence
AspectJ declaration.Copyright © 2009–2016. All rights reserved.