Пример #1
0
 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;
 }
Пример #2
0
 public Type findType(String fqn) throws LookupException {
   TypeReference ref = createTypeReferenceInDefaultNamespace(fqn);
   return ref.getType();
 }