Class BuiltInTypeImportHelper
- java.lang.Object
-
- org.kie.workbench.common.widgets.configresource.client.widget.BuiltInTypeImportHelper
-
public class BuiltInTypeImportHelper extends Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static booleanisBuiltIn(String type)Check if the given type is java built in type ("java.lang.*" or "java.util.*")static booleanisBuiltIn(org.kie.soup.project.datamodel.imports.Import importedType)Check if the import is java built in type ("java.lang.*" or "java.util.*")
-
-
-
Method Detail
-
isBuiltIn
public static boolean isBuiltIn(org.kie.soup.project.datamodel.imports.Import importedType)
Check if the import is java built in type ("java.lang.*" or "java.util.*")- Returns:
- false if type is from listed packages, true otherwise
-
isBuiltIn
public static boolean isBuiltIn(String type)
Check if the given type is java built in type ("java.lang.*" or "java.util.*")- Returns:
- false if type is from listed packages, true otherwise
-
-