@Test(expected=InvalidDefinitionException.class) public void testForClass$orphanClass$emptyNamespace() throws Exception { Class<?> orphanClass = Class.forName("EmptyNamespaceOrphanType"); DefinitionLoader.loadType(orphanClass,manager); }
static Type loadType(Class<?> clazz, TypeManager manager) { Objects.requireNonNull(clazz,"Class cannot be null"); Objects.requireNonNull(manager,"Type manager cannot be null"); return new TypeLoader(manager).load(clazz); }
DefinitionLoader { static Type loadType(Class<?> clazz, TypeManager manager) { Objects.requireNonNull(clazz,"Class cannot be null"); Objects.requireNonNull(manager,"Type manager cannot be null"); return new TypeLoader(manager).load(clazz); } }
DefinitionLoader { static Type loadType(Class<?> clazz, TypeManager manager) { Objects.requireNonNull(clazz,"Class cannot be null"); Objects.requireNonNull(manager,"Type manager cannot be null"); return new TypeLoader(manager).load(clazz); } private  DefinitionLoader(); }
DefinitionLoader { static Type loadType(Class<?> clazz, TypeManager manager) { Objects.requireNonNull(clazz,"Class cannot be null"); Objects.requireNonNull(manager,"Type manager cannot be null"); return new TypeLoader(manager).load(clazz); } private  DefinitionLoader();  }
DefinitionLoader { static Type loadType(Class<?> clazz, TypeManager manager) { Objects.requireNonNull(clazz,"Class cannot be null"); Objects.requireNonNull(manager,"Type manager cannot be null"); return new TypeLoader(manager).load(clazz); } private  DefinitionLoader();   }