Package org.hibernate.processor
Class ImportContextImpl
java.lang.Object
org.hibernate.processor.ImportContextImpl
- All Implemented Interfaces:
ImportContext
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionimportType(String typeExpression) Add fqcn to the import list.static StringstaticImport(String fqcn, String member) static String
-
Constructor Details
-
ImportContextImpl
-
-
Method Details
-
importType
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.Collectionand returnsCollectionorg.marvel.Hulk[]importsorg.marvel.Hulkand returnsHulk- Specified by:
importTypein interfaceImportContext- Parameters:
typeExpression- A type expression- Returns:
- import string
-
staticImport
- Specified by:
staticImportin interfaceImportContext
-
generateImports
- Specified by:
generateImportsin interfaceImportContext
-
unqualify
-
qualifier
-