Interface JavaImportsAnalyzer
public interface JavaImportsAnalyzer
The
JavaImportsAnalyzer allows checking imports in generated HTL Java classes, in order to optimise dependencies.-
Method Summary
Modifier and TypeMethodDescriptiondefault booleanallowImport(String importedClass) Analyses the providedimportedClassand decides if this class should be an explicit import or not in the generated HTL Java class.
-
Method Details
-
allowImport
Analyses the providedimportedClassand decides if this class should be an explicit import or not in the generated HTL Java class.- Parameters:
importedClass- the import to analyse- Returns:
trueif the import should be declared,falseotherwise
-