Class AnnotationMetaPackage
java.lang.Object
org.hibernate.processor.annotation.AnnotationMeta
org.hibernate.processor.annotation.AnnotationMetaPackage
- All Implemented Interfaces:
ImportContext
,Metamodel
Class used to collect meta information about an annotated package.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic AnnotationMetaPackage
create
(PackageElement element, Context context) final String
final Context
final PackageElement
final String
final String
final String
@Nullable Element
final String
importType
(String fqcn) Add fqcn to the import list.protected final void
init()
boolean
Is this an implementation of a repository interface?boolean
Can this be injected into things?boolean
Is it a Jakarta Data style metamodel interface?boolean
javadoc()
scope()
What is its CDI scope for injection?final String
staticImport
(String fqcn, String member) toString()
Methods inherited from class org.hibernate.processor.annotation.AnnotationMeta
getSessionVariableName
-
Constructor Details
-
AnnotationMetaPackage
-
-
Method Details
-
create
-
getContext
-
isImplementation
public boolean isImplementation()Description copied from interface:Metamodel
Is this an implementation of a repository interface? -
getSimpleName
-
getQualifiedName
-
getSuperTypeElement
-
getPackageName
-
getMembers
-
isMetaComplete
public boolean isMetaComplete() -
generateImports
-
importType
Description copied from interface:ImportContext
Add fqcn to the import list. Returns fqcn as needed in source code. Attempts to handle fqcn with array and generics references.e.g.
java.util.Collection<org.marvel.Hulk>
importsjava.util.Collection
and returnsCollection
org.marvel.Hulk[]
importsorg.marvel.Hulk
and returnsHulk
- Parameters:
fqcn
- Fully qualified class name of the type to import.- Returns:
- import string
-
staticImport
-
getElement
-
toString
-
init
protected final void init() -
isInjectable
public boolean isInjectable()Description copied from interface:Metamodel
Can this be injected into things? -
scope
Description copied from interface:Metamodel
What is its CDI scope for injection? -
isJakartaDataStyle
public boolean isJakartaDataStyle()Description copied from interface:Metamodel
Is it a Jakarta Data style metamodel interface? -
inheritedAnnotations
-
javadoc
-