public interface ClassOrInterfaceTypeDetails extends MemberHoldingTypeDetails
As per this interface's extension of MemberHoldingTypeDetails,
instances of implementing classes must be immutable.
| Modifier and Type | Method and Description |
|---|---|
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
|
boolean |
isInterface()
Indicates whether this element is an interface
|
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, getModifierboolean 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()
boolean isInterface()
Copyright © 2009–2016. All rights reserved.