public Type getDefaultSuperClass() throws LookupException { TypeReference typeRef = createTypeReferenceInDefaultNamespace(getDefaultSuperClassFQN()); Type result = typeRef.getType(); if (result == null) { throw new LookupException("Default super class " + getDefaultSuperClassFQN() + " not found."); } return result; }
public Type findType(String fqn) throws LookupException { TypeReference ref = createTypeReferenceInDefaultNamespace(fqn); return ref.getType(); }