Class BuiltInTypeImportHelper


  • public class BuiltInTypeImportHelper
    extends Object
    • 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