public Class getImport(String name) { if (imports != null && imports.containsKey(name) && imports.get(name) instanceof Class) { return (Class) imports.get(name); } return (Class) (AbstractParser.LITERALS.get(name) instanceof Class ? AbstractParser.LITERALS.get(name) : null); }
public static Class getContextFreeImport(String name) { return (Class) AbstractParser.LITERALS.get(name); }
public static boolean hasContextFreeImport(String name) { return AbstractParser.LITERALS.containsKey(name) && AbstractParser.LITERALS.get(name) instanceof Class; }
public Object getStaticOrClassImport(String name) { return (imports != null && imports.containsKey(name) ? imports.get(name) : AbstractParser.LITERALS.get(name)); }