| Constructor and Description |
|---|
FieldMatcher(org.springframework.roo.model.CustomDataKey<FieldMetadata> customDataKey,
AnnotationMetadata... annotations)
Constructor for matching on any of the given annotations
|
| Constructor and Description |
|---|
FieldMatcher(org.springframework.roo.model.CustomDataKey<FieldMetadata> customDataKey,
Collection<AnnotationMetadata> annotations)
Constructor for matching on any of the given annotations
|
| Modifier and Type | Method and Description |
|---|---|
List<AnnotationMetadata> |
IdentifiableAnnotatedJavaStructureCustomDataKey.getAnnotations() |
| Constructor and Description |
|---|
FieldMetadataCustomDataKey(Integer modifier,
List<AnnotationMetadata> annotations) |
FieldMetadataCustomDataKey(Integer modifier,
List<AnnotationMetadata> annotations,
org.springframework.roo.model.JavaType fieldType,
org.springframework.roo.model.JavaSymbolName fieldName,
String fieldInitializer) |
IdentifiableAnnotatedJavaStructureCustomDataKey(Integer modifier,
List<AnnotationMetadata> annotations) |
InvocableMemberMetadataCustomDataKey(Integer modifier,
List<AnnotationMetadata> annotations,
List<AnnotatedJavaType> parameterTypes,
List<org.springframework.roo.model.JavaSymbolName> parameterNames,
List<org.springframework.roo.model.JavaType> throwsTypes) |
| Modifier and Type | Method and Description |
|---|---|
AnnotationMetadata |
IdentifiableAnnotatedJavaStructure.getAnnotation(org.springframework.roo.model.JavaType type)
Locates the specified annotation on this structure.
|
AnnotationMetadata |
AbstractIdentifiableAnnotatedJavaStructureProvider.getAnnotation(org.springframework.roo.model.JavaType type) |
static AnnotationMetadata |
MemberFindingUtils.getAnnotationOfType(List<? extends AnnotationMetadata> annotations,
org.springframework.roo.model.JavaType annotationType)
Locates the metadata for an annotation of the specified type from within
the given list.
|
static AnnotationMetadata |
MemberFindingUtils.getAnnotationOfType(MemberHoldingTypeDetailsMetadataItem<?> metadata,
org.springframework.roo.model.JavaType annotationType)
Returns the metadata for the annotation of the given type from within the
given metadata
|
static AnnotationMetadata |
MemberFindingUtils.getDeclaredTypeAnnotation(IdentifiableAnnotatedJavaStructure memberHoldingTypeDetails,
org.springframework.roo.model.JavaType type)
Deprecated.
|
static AnnotationMetadata |
MemberFindingUtils.getDeclaredTypeAnnotation(MemberDetails memberDetails,
org.springframework.roo.model.JavaType type)
Deprecated.
use
MemberDetails.getAnnotation(JavaType) instead |
AnnotationMetadata |
DeclaredFieldAnnotationDetails.getFieldAnnotation() |
static AnnotationMetadata |
MemberFindingUtils.getFirstAnnotation(ClassOrInterfaceTypeDetails cid,
org.springframework.roo.model.JavaType... annotationTypes)
Returns the first of the given types of annotation on the given class or
interface
|
AnnotationMetadata |
DeclaredMethodAnnotationDetails.getMethodAnnotation() |
static AnnotationMetadata |
MemberFindingUtils.getTypeAnnotation(IdentifiableAnnotatedJavaStructure memberHoldingTypeDetails,
org.springframework.roo.model.JavaType annotationType)
Deprecated.
|
AnnotationMetadata |
IdentifiableAnnotatedJavaStructure.getTypeAnnotation(org.springframework.roo.model.JavaType annotationType)
Locates an annotation on this class and its superclasses.
|
AnnotationMetadata |
AbstractIdentifiableAnnotatedJavaStructureProvider.getTypeAnnotation(org.springframework.roo.model.JavaType annotationType) |
| Modifier and Type | Method and Description |
|---|---|
List<AnnotationMetadata> |
AbstractIdentifiableAnnotatedJavaStructureBuilder.buildAnnotations() |
List<AnnotationMetadata> |
IdentifiableAnnotatedJavaStructure.getAnnotations() |
List<AnnotationMetadata> |
AbstractIdentifiableAnnotatedJavaStructureProvider.getAnnotations() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
AbstractIdentifiableAnnotatedJavaStructureBuilder.addAnnotation(AnnotationMetadata annotationMetadata) |
void |
ItdTypeDetailsBuilder.addTypeAnnotation(AnnotationMetadata annotationMetadata)
Deprecated.
|
static String |
AnnotationMetadataUtils.toSourceForm(AnnotationMetadata annotation)
Converts the annotation into a string-based form.
|
static String |
AnnotationMetadataUtils.toSourceForm(AnnotationMetadata annotation,
org.springframework.roo.model.ImportRegistrationResolver resolver)
Converts the annotation into a string-based form.
|
boolean |
AbstractIdentifiableAnnotatedJavaStructureBuilder.updateTypeAnnotation(AnnotationMetadata annotation) |
boolean |
AbstractIdentifiableAnnotatedJavaStructureBuilder.updateTypeAnnotation(AnnotationMetadata annotation,
Set<org.springframework.roo.model.JavaSymbolName> attributesToDeleteIfPresent) |
| Modifier and Type | Method and Description |
|---|---|
static AnnotationMetadata |
MemberFindingUtils.getAnnotationOfType(List<? extends AnnotationMetadata> annotations,
org.springframework.roo.model.JavaType annotationType)
Locates the metadata for an annotation of the specified type from within
the given list.
|
void |
AbstractIdentifiableAnnotatedJavaStructureBuilder.setAnnotations(Collection<AnnotationMetadata> annotations) |
| Constructor and Description |
|---|
DeclaredFieldAnnotationDetails(FieldMetadata field,
AnnotationMetadata fieldAnnotation)
Overloaded constructor which is used in the most typical case of ADDING
an annotation to a field, not removing one.
|
DeclaredFieldAnnotationDetails(FieldMetadata field,
AnnotationMetadata fieldAnnotation,
boolean removeAnnotation)
Constructor must contain
FieldMetadata of existing field (may
already contain field annotations) and a list of new Annotations which
should be introduced by an AspectJ ITD. |
DeclaredMethodAnnotationDetails(MethodMetadata methodMetadata,
AnnotationMetadata methodAnnotation)
Contructor must contain
MethodMetadata of existing method (may
already contain method annotations) and a list of new Annotations which
should be introduced by an AspectJ ITD. |
| Constructor and Description |
|---|
AbstractIdentifiableAnnotatedJavaStructureProvider(org.springframework.roo.model.CustomData customData,
String declaredByMetadataId,
int modifier,
Collection<AnnotationMetadata> annotations)
Constructor
|
AbstractInvocableMemberMetadata(org.springframework.roo.model.CustomData customData,
String declaredByMetadataId,
int modifier,
List<AnnotationMetadata> annotations,
List<AnnotatedJavaType> parameterTypes,
List<org.springframework.roo.model.JavaSymbolName> parameterNames,
List<org.springframework.roo.model.JavaType> throwsTypes,
String body)
Constructor
|
AbstractMemberHoldingTypeDetails(org.springframework.roo.model.CustomData customData,
String declaredByMetadataId,
int modifier,
Collection<AnnotationMetadata> annotations)
Constructor
|
DefaultClassOrInterfaceTypeDetails(org.springframework.roo.model.CustomData customData,
String declaredByMetadataId,
int modifier,
List<AnnotationMetadata> annotations,
org.springframework.roo.model.JavaType name,
PhysicalTypeCategory physicalTypeCategory,
List<ConstructorMetadata> declaredConstructors,
List<FieldMetadata> declaredFields,
List<MethodMetadata> declaredMethods,
List<ClassOrInterfaceTypeDetails> declaredInnerTypes,
List<InitializerMetadata> declaredInitializers,
ClassOrInterfaceTypeDetails superclass,
List<org.springframework.roo.model.JavaType> extendsTypes,
List<org.springframework.roo.model.JavaType> implementsTypes,
List<org.springframework.roo.model.JavaSymbolName> enumConstants,
Collection<ImportMetadata> registeredImports)
Constructor is package protected to mandate the use of
ClassOrInterfaceTypeDetailsBuilder |
DefaultFieldMetadata(org.springframework.roo.model.CustomData customData,
String declaredByMetadataId,
int modifier,
List<AnnotationMetadata> annotations,
org.springframework.roo.model.JavaSymbolName fieldName,
org.springframework.roo.model.JavaType fieldType,
String fieldInitializer) |
| Modifier and Type | Class and Description |
|---|---|
class |
DefaultAnnotationMetadata
Default implementation of
AnnotationMetadata. |
| Modifier and Type | Method and Description |
|---|---|
AnnotationMetadata |
AnnotationMetadataBuilder.build() |
static AnnotationMetadata |
AnnotationMetadataBuilder.getInstance(Class<?> annotationType)
Returns the metadata for the existing annotation, with no attribute
values
|
static AnnotationMetadata |
AnnotationMetadataBuilder.getInstance(org.springframework.roo.model.JavaType annotationType) |
static AnnotationMetadata |
AnnotationMetadataBuilder.getInstance(String annotationType)
Returns the metadata for the existing annotation, with no attribute
values
|
AnnotationMetadata |
NestedAnnotationAttributeValue.getValue() |
| Modifier and Type | Method and Description |
|---|---|
List<AnnotationMetadata> |
AnnotatedJavaType.getAnnotations()
Returns the annotations on this type
|
| Constructor and Description |
|---|
AnnotatedJavaType(org.springframework.roo.model.JavaType javaType,
AnnotationMetadata... annotations)
Constructor that accepts a vararg array of annotations
|
AnnotationMetadataBuilder(AnnotationMetadata existing)
Constructor for using an existing
AnnotationMetadata as a
baseline for building a new instance. |
NestedAnnotationAttributeValue(org.springframework.roo.model.JavaSymbolName name,
AnnotationMetadata value) |
| Constructor and Description |
|---|
AnnotatedJavaType(org.springframework.roo.model.JavaType javaType,
Collection<AnnotationMetadata> annotations)
Constructor that accepts an optional list of annotations
|
| Modifier and Type | Field and Description |
|---|---|
protected AnnotationMetadata |
AbstractAnnotationValues.annotationMetadata |
| Modifier and Type | Method and Description |
|---|---|
static void |
AutoPopulationUtils.populate(Object target,
AnnotationMetadata annotation)
Introspects the target
Object for its declared fields, locating
all AutoPopulate annotated fields. |
| Modifier and Type | Method and Description |
|---|---|
protected AnnotationMetadata |
AbstractItdTypeDetailsProvidingMetadataItem.getTypeAnnotation(org.springframework.roo.model.JavaType annotationType)
Returns the metadata for an annotation of the given type if the governor
does not already have one.
|
| Modifier and Type | Method and Description |
|---|---|
AnnotationMetadata |
MemberDetails.getAnnotation(org.springframework.roo.model.JavaType type)
Locates the specified type-level annotation on any of the
MemberHoldingTypeDetails in this MemberDetails. |
AnnotationMetadata |
MemberDetailsImpl.getAnnotation(org.springframework.roo.model.JavaType type) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
MemberDetails.isRequestingAnnotatedWith(AnnotationMetadata annotationMetadata,
String requestingMid)
Indicates whether the requesting MID is annotated with the specified
annotation.
|
boolean |
MemberDetailsImpl.isRequestingAnnotatedWith(AnnotationMetadata annotationMetadata,
String requestingMid) |
Copyright © 2009–2017. All rights reserved.