|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ClassOrInterfaceTypeDetails
Provides information about the different components of a class, interface or enum.
As per this interface's extension of MemberHoldingTypeDetails,
instances of implementing classes must be immutable.
| Method Summary | |
|---|---|
boolean |
declaresField(org.springframework.roo.model.JavaSymbolName fieldName)
Indicates whether this class or interface declares a field with the given name |
List<org.springframework.roo.model.JavaSymbolName> |
getEnumConstants()
Lists the enum constants this type provides. |
Set<ImportMetadata> |
getRegisteredImports()
|
ClassOrInterfaceTypeDetails |
getSuperclass()
Obtains the superclass if this is a class and it is available. |
boolean |
isAbstract()
Indicates whether this class, interface, or enum is abstract |
| Methods inherited from interface org.springframework.roo.classpath.details.MemberHoldingTypeDetails |
|---|
extendsType, getDeclaredConstructor, getDeclaredConstructors, getDeclaredField, getDeclaredFields, getDeclaredInitializers, getDeclaredInnerType, getDeclaredInnerTypes, getDeclaredMethods, getDynamicFinderNames, getExtendsTypes, getField, getFieldsWithAnnotation, getImplementsTypes, getLayerEntities, getMethod, getMethod, getMethods, getUniqueFieldName, implementsAny, implementsType |
| Methods inherited from interface org.springframework.roo.classpath.PhysicalTypeDetails |
|---|
getName, getPhysicalTypeCategory, getType |
| Methods inherited from interface org.springframework.roo.classpath.details.IdentifiableAnnotatedJavaStructure |
|---|
getAnnotation, getAnnotations, getTypeAnnotation |
| Methods inherited from interface org.springframework.roo.classpath.details.IdentifiableJavaStructure |
|---|
getDeclaredByMetadataId, getModifier |
| Methods inherited from interface org.springframework.roo.model.CustomDataAccessor |
|---|
getCustomData |
| Method Detail |
|---|
boolean declaresField(org.springframework.roo.model.JavaSymbolName fieldName)
fieldName - the field name to check for (can be null)
false if a null field name is givenList<org.springframework.roo.model.JavaSymbolName> getEnumConstants()
Set<ImportMetadata> getRegisteredImports()
ClassOrInterfaceTypeDetails getSuperclass()
boolean isAbstract()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||