public class AnnotationMetaEntity extends Object implements MetaEntity
Constructor and Description |
---|
AnnotationMetaEntity(TypeElement element,
Context context,
boolean lazilyInitialised) |
Modifier and Type | Method and Description |
---|---|
String |
generateImports() |
Context |
getContext() |
protected TypeElement |
getElement() |
AccessTypeInformation |
getEntityAccessTypeInfo() |
List<MetaAttribute> |
getMembers() |
String |
getPackageName() |
String |
getQualifiedName() |
String |
getSimpleName() |
TypeElement |
getTypeElement() |
String |
importType(String fqcn)
Add fqcn to the import list.
|
protected void |
init() |
boolean |
isMetaComplete() |
void |
mergeInMembers(MetaEntity other) |
String |
staticImport(String fqcn,
String member) |
String |
toString() |
public AnnotationMetaEntity(TypeElement element, Context context, boolean lazilyInitialised)
public AccessTypeInformation getEntityAccessTypeInfo()
public final Context getContext()
public final String getSimpleName()
getSimpleName
in interface MetaEntity
public final String getQualifiedName()
getQualifiedName
in interface MetaEntity
public final String getPackageName()
getPackageName
in interface MetaEntity
public List<MetaAttribute> getMembers()
getMembers
in interface MetaEntity
public boolean isMetaComplete()
isMetaComplete
in interface MetaEntity
public void mergeInMembers(MetaEntity other)
public final String generateImports()
generateImports
in interface ImportContext
generateImports
in interface MetaEntity
public final String importType(String fqcn)
ImportContext
importType
in interface ImportContext
importType
in interface MetaEntity
fqcn
- Fully qualified class name of the type to import.public final String staticImport(String fqcn, String member)
staticImport
in interface ImportContext
staticImport
in interface MetaEntity
public final TypeElement getTypeElement()
getTypeElement
in interface MetaEntity
protected TypeElement getElement()
protected final void init()
Copyright © 2001-2015 Red Hat, Inc. All Rights Reserved.