public interface JavaImportsAnalyzer
JavaImportsAnalyzer
allows checking imports in generated HTL Java classes, in order to optimise dependencies.Modifier and Type | Method and Description |
---|---|
default boolean |
allowImport(java.lang.String importedClass)
Analyses the provided
importedClass and decides if this class should be an explicit import or not in the generated HTL
Java class. |
default boolean allowImport(java.lang.String importedClass)
importedClass
and decides if this class should be an explicit import or not in the generated HTL
Java class.importedClass
- the import to analysetrue
if the import should be declared, false
otherwiseCopyright © 2018 The Apache Software Foundation. All rights reserved.