| Modifier and Type | Method and Description |
|---|---|
ClassOrInterfaceTypeDetails |
TypeParsingService.getTypeAtLocation(String fileIdentifier,
String declaredByMetadataId,
org.springframework.roo.model.JavaType javaType)
Builds a
ClassOrInterfaceTypeDetails object that represents the
requested JavaType from the type at
the passed in type path. |
ClassOrInterfaceTypeDetails |
TypeLocationService.getTypeDetails(org.springframework.roo.model.JavaType javaType)
Returns the details of the given Java type from within the user project.
|
ClassOrInterfaceTypeDetails |
TypeLocationServiceImpl.getTypeDetails(org.springframework.roo.model.JavaType type) |
ClassOrInterfaceTypeDetails |
TypeCache.getTypeDetails(String mid) |
ClassOrInterfaceTypeDetails |
TypeLocationService.getTypeDetails(String physicalTypeId)
Resolves the
ClassOrInterfaceTypeDetails to for the provided
physical type identifier. |
ClassOrInterfaceTypeDetails |
TypeLocationServiceImpl.getTypeDetails(String physicalTypeId) |
ClassOrInterfaceTypeDetails |
TypeCacheImpl.getTypeDetails(String mid) |
ClassOrInterfaceTypeDetails |
TypeParsingService.getTypeFromString(String typeContents,
String declaredByMetadataId,
org.springframework.roo.model.JavaType javaType)
Builds a
ClassOrInterfaceTypeDetails object that represents the
requested JavaType from the passed
compilation unit text. |
| Modifier and Type | Method and Description |
|---|---|
Set<ClassOrInterfaceTypeDetails> |
TypeLocationService.findClassesOrInterfaceDetailsWithAnnotation(org.springframework.roo.model.JavaType... annotationsToDetect)
Returns a set of
ClassOrInterfaceTypeDetailss that possess the
specified annotations (specified as a vararg). |
Set<ClassOrInterfaceTypeDetails> |
TypeLocationServiceImpl.findClassesOrInterfaceDetailsWithAnnotation(org.springframework.roo.model.JavaType... annotationsToDetect) |
Set<ClassOrInterfaceTypeDetails> |
TypeLocationService.findClassesOrInterfaceDetailsWithTag(Object tag)
Returns a set of
ClassOrInterfaceTypeDetailss that possess the
specified tag. |
Set<ClassOrInterfaceTypeDetails> |
TypeLocationServiceImpl.findClassesOrInterfaceDetailsWithTag(Object tag) |
Set<ClassOrInterfaceTypeDetails> |
MetadataLocatorUtils.LocatorEvaluator.getAllPosibilities(CONTEXT context)
Returns all details which can match to context
|
Set<ClassOrInterfaceTypeDetails> |
MetadataLocatorUtils.LocatorEvaluatorByAnnotation.getAllPosibilities(org.springframework.roo.model.JavaType context) |
Collection<ClassOrInterfaceTypeDetails> |
MetadataLocatorUtils.getValue(org.springframework.roo.model.JavaType type,
CONTEXT context)
Get value for type
Use cache value if any.
|
| Modifier and Type | Method and Description |
|---|---|
void |
TypeCache.cacheType(String typeFilePath,
ClassOrInterfaceTypeDetails cid) |
void |
TypeCacheImpl.cacheType(String typeFilePath,
ClassOrInterfaceTypeDetails cid) |
static String |
PhysicalTypeIdentifier.createIdentifier(ClassOrInterfaceTypeDetails details) |
void |
TypeManagementServiceImpl.createOrUpdateTypeOnDisk(ClassOrInterfaceTypeDetails cid) |
void |
TypeManagementService.createOrUpdateTypeOnDisk(ClassOrInterfaceTypeDetails cid)
Creates a physical type with the contents based on the
ClassOrInterfaceTypeDetails passed in at the location denoted by
the passed in path. |
boolean |
MetadataLocatorUtils.LocatorEvaluator.evaluateForKey(org.springframework.roo.model.JavaType key,
ClassOrInterfaceTypeDetails valueToEvalueate,
CONTEXT context)
Should return true if value is suitable for key
for required context
|
void |
TypeManagementServiceImpl.generateClassFile(ClassOrInterfaceTypeDetails cid)
Deprecated.
|
void |
TypeManagementService.generateClassFile(ClassOrInterfaceTypeDetails cid)
Deprecated.
|
String |
TypeParsingService.getCompilationUnitContents(ClassOrInterfaceTypeDetails cid)
Returns the compilation unit contents that represents the passed class or
interface details.
|
void |
LocatedTypeCallback.process(ClassOrInterfaceTypeDetails located)
Callback method to process the located
ClassOrInterfaceTypeDetails type. |
String |
TypeParsingService.updateAndGetCompilationUnitContents(String fileIdentifier,
ClassOrInterfaceTypeDetails cid)
Returns the compilation unit contents that represents the java file
updated with the passed class or interface details.
|
| Modifier and Type | Class and Description |
|---|---|
class |
DefaultClassOrInterfaceTypeDetails
Default representation of a
ClassOrInterfaceTypeDetails. |
| Modifier and Type | Method and Description |
|---|---|
ClassOrInterfaceTypeDetails |
ClassOrInterfaceTypeDetailsBuilder.build() |
ClassOrInterfaceTypeDetails |
MemberHoldingTypeDetails.getDeclaredInnerType(org.springframework.roo.model.JavaType typeName)
Locates an inner type with the specified name.
|
ClassOrInterfaceTypeDetails |
AbstractMemberHoldingTypeDetails.getDeclaredInnerType(org.springframework.roo.model.JavaType typeName) |
static ClassOrInterfaceTypeDetails |
MemberFindingUtils.getDeclaredInnerType(MemberHoldingTypeDetails memberHoldingTypeDetails,
org.springframework.roo.model.JavaType typeName)
Deprecated.
|
ClassOrInterfaceTypeDetails |
ItdTypeDetails.getGovernor()
Returns the
ClassOrInterfaceTypeDetails representing the governor
of this ITD. |
ClassOrInterfaceTypeDetails |
DefaultItdTypeDetails.getGovernor() |
ClassOrInterfaceTypeDetails |
DefaultPhysicalTypeMetadata.getMemberHoldingTypeDetails() |
ClassOrInterfaceTypeDetails |
DefaultClassOrInterfaceTypeDetails.getSuperclass() |
ClassOrInterfaceTypeDetails |
ClassOrInterfaceTypeDetails.getSuperclass()
Obtains the superclass if this is a class and it is available.
|
| Modifier and Type | Method and Description |
|---|---|
List<ClassOrInterfaceTypeDetails> |
AbstractMemberHoldingTypeDetailsBuilder.buildInnerTypes() |
List<ClassOrInterfaceTypeDetails> |
DefaultClassOrInterfaceTypeDetails.getDeclaredInnerTypes() |
List<ClassOrInterfaceTypeDetails> |
MemberHoldingTypeDetails.getDeclaredInnerTypes() |
List<ClassOrInterfaceTypeDetails> |
DefaultItdTypeDetails.getDeclaredInnerTypes() |
List<ClassOrInterfaceTypeDetails> |
ItdTypeDetails.getInnerTypes()
Lists the inner types.
|
List<ClassOrInterfaceTypeDetails> |
DefaultItdTypeDetails.getInnerTypes() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
AbstractMemberHoldingTypeDetailsBuilder.addInnerType(ClassOrInterfaceTypeDetails innerType) |
void |
ClassOrInterfaceTypeDetailsBuilder.copyTo(AbstractMemberHoldingTypeDetailsBuilder<?> targetBuilder,
ClassOrInterfaceTypeDetails governorTypeDetails)
Copies this builder's modifications into the given ITD builder
|
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
|
void |
ClassOrInterfaceTypeDetailsBuilder.setSuperclass(ClassOrInterfaceTypeDetails superclass) |
| Constructor and Description |
|---|
ClassOrInterfaceTypeDetailsBuilder(ClassOrInterfaceTypeDetails existing)
Constructor
|
ClassOrInterfaceTypeDetailsBuilder(String declaredbyMetadataId,
ClassOrInterfaceTypeDetails existing)
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 |
DefaultPhysicalTypeMetadata(String metadataIdentificationString,
String physicalLocationCanonicalPath,
ClassOrInterfaceTypeDetails cid)
Constructor
|
ItdTypeDetailsBuilder(String declaredByMetadataId,
ClassOrInterfaceTypeDetails governor,
org.springframework.roo.model.JavaType aspect,
boolean privilegedAspect)
Constructor
|
| Constructor and Description |
|---|
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 |
| Modifier and Type | Field and Description |
|---|---|
protected ClassOrInterfaceTypeDetails |
AbstractAnnotationValues.governorTypeDetails |
| Modifier and Type | Method and Description |
|---|---|
ClassOrInterfaceTypeDetails |
AbstractAnnotationValues.getGovernorTypeDetails() |
| Constructor and Description |
|---|
AbstractAnnotationValues(ClassOrInterfaceTypeDetails governorDetails,
org.springframework.roo.model.JavaType annotationType)
Parses the governor's metadata for the requested annotation
JavaType. |
| Modifier and Type | Field and Description |
|---|---|
protected ClassOrInterfaceTypeDetails |
AbstractItdTypeDetailsProvidingMetadataItem.governorTypeDetails |
| Modifier and Type | Method and Description |
|---|---|
protected String |
AbstractItdMetadataProvider.createLocalIdentifier(ClassOrInterfaceTypeDetails details)
Called whenever there is a requirement to produce a local identifier (ie
an instance identifier consistent with
MetadataProvider.getProvidesType()) for
the indicated ClassOrInterfaceTypeDetails. |
protected MemberDetails |
AbstractItdMetadataProvider.getMemberDetails(ClassOrInterfaceTypeDetails cid)
Returns details of the given class or interface type's members
|
protected <T extends org.springframework.roo.metadata.MetadataItem> |
AbstractItdMetadataProvider.getParentMetadata(ClassOrInterfaceTypeDetails child)
Looks up the given type's inheritance hierarchy for metadata of the given
type, starting with the given type's parent and going upwards until the
first such instance is found (i.e. lower level metadata takes priority
over higher level metadata)
|
protected boolean |
AbstractItdMetadataProvider.isGovernor(ClassOrInterfaceTypeDetails type)
Indicates whether the given type is the governor for this provider.
|
protected boolean |
AbstractItdTypeDetailsProvidingMetadataItem.isImplementing(ClassOrInterfaceTypeDetails clazz,
org.springframework.roo.model.JavaType interfaceTarget)
Determines if the presented class (or any of its superclasses) implements
the target interface.
|
| Modifier and Type | Method and Description |
|---|---|
void |
MemberTypeAdditions.copyAdditionsTo(AbstractMemberHoldingTypeDetailsBuilder<?> targetBuilder,
ClassOrInterfaceTypeDetails governorClassOrInterfaceTypeDetails)
Copies this instance's additions (if any) into the given builder
|
| Modifier and Type | Method and Description |
|---|---|
String |
ClasspathOperationsImpl.replaceTopLevelPackage(ClassOrInterfaceTypeDetails cid)
Replaces a JavaType fullyQualifiedName for a shorter name using '~' for
TopLevelPackage
|
String |
ClasspathOperations.replaceTopLevelPackage(ClassOrInterfaceTypeDetails cid)
Replaces a JavaType fullyQualifiedName for a shorter name using '~' for
TopLevelPackage
|
String |
ClasspathOperationsImpl.replaceTopLevelPackageString(ClassOrInterfaceTypeDetails cid,
String currentText)
Replaces a JavaType fullyQualifiedName for a shorter name using '~' for
TopLevelPackage
|
String |
ClasspathOperations.replaceTopLevelPackageString(ClassOrInterfaceTypeDetails cid,
String currentText)
Replaces a JavaType fullyQualifiedName for a shorter name using '~' for
TopLevelPackage
|
| Modifier and Type | Method and Description |
|---|---|
MemberDetails |
MemberDetailsScannerImpl.getMemberDetails(String requestingClass,
ClassOrInterfaceTypeDetails cid) |
MemberDetails |
MemberDetailsScanner.getMemberDetails(String requestingClass,
ClassOrInterfaceTypeDetails cid)
Builds
MemberDetails instance for the given
ClassOrInterfaceTypeDetails. |
Copyright © 2009–2016. All rights reserved.