|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PhysicalTypeMetadata
Represents metadata for a particular PhysicalTypeIdentifierNamingUtils
, which is usually a class or
interface but may potentially represent an annotation or enum type.
Note that subclasses must support class or interface declarations (ie ClassOrInterfaceTypeDetails
),
but they may support (at their option) annotation, enumeration and empty types.
PhysicalTypeMetadata
may be parsed from source code, parsed from a .class bytecode,
or parsed from a .class bytecode from a JAR.
It is important to note a PhysicalTypeMetadata
will only include those members explicitly
declared in the relevant source or bytecode. This explicitly excludes members introduced
via an inter-type declaration (ITD) or other special bytecode modification techniques.
ItdMetadata
Method Summary | |
---|---|
String |
getItdCanoncialPath(ItdMetadataProvider metadataProvider)
Obtains the canoncial file path to where an ITD can be emitted for this physical Java type. |
org.springframework.roo.model.JavaType |
getItdJavaType(ItdMetadataProvider metadataProvider)
Obtains the JavaType which represents an ITD for this physical Java type. |
String |
getPhysicalLocationCanonicalPath()
|
PhysicalTypeDetails |
getPhysicalTypeDetails()
|
Methods inherited from interface org.springframework.roo.metadata.MetadataItem |
---|
getId, isValid |
Method Detail |
---|
PhysicalTypeDetails getPhysicalTypeDetails()
String getPhysicalLocationCanonicalPath()
String getItdCanoncialPath(ItdMetadataProvider metadataProvider)
metadataProvider
- so the ItdMetadataProvider.getItdUniquenessFilenameSuffix()
can be queried (never null)
org.springframework.roo.model.JavaType getItdJavaType(ItdMetadataProvider metadataProvider)
JavaType
which represents an ITD for this physical Java type.
metadataProvider
- so the ItdMetadataProvider.getItdUniquenessFilenameSuffix()
can be queried (never null)
JavaType
applicable for this ITD (never null)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |