@Test public void scanFields() throws Exception { PropertyScanner propertyScanner = new PropertyScanner(AnnotatedClass.class,"http: try { propertyScanner.getProperties(manager); } catch (Exception e) { e.printStackTrace(); } }
List<Property> getProperties(TypeManager typeManager) { Scanner scanner = new Scanner(typeManager); if(!scanner.isValid()) { throw new InvalidDefinitionException(scanner.getReport()); } return scanner.getDefinitions(); }
PropertyScanner { List<Property> getProperties(TypeManager typeManager) { Scanner scanner = new Scanner(typeManager); if(!scanner.isValid()) { throw new InvalidDefinitionException(scanner.getReport()); } return scanner.getDefinitions(); } }
PropertyScanner { List<Property> getProperties(TypeManager typeManager) { Scanner scanner = new Scanner(typeManager); if(!scanner.isValid()) { throw new InvalidDefinitionException(scanner.getReport()); } return scanner.getDefinitions(); } PropertyScanner(Class<?> clazz, String defaultNamespace); }
PropertyScanner { List<Property> getProperties(TypeManager typeManager) { Scanner scanner = new Scanner(typeManager); if(!scanner.isValid()) { throw new InvalidDefinitionException(scanner.getReport()); } return scanner.getDefinitions(); } PropertyScanner(Class<?> clazz, String defaultNamespace);  }
PropertyScanner { List<Property> getProperties(TypeManager typeManager) { Scanner scanner = new Scanner(typeManager); if(!scanner.isValid()) { throw new InvalidDefinitionException(scanner.getReport()); } return scanner.getDefinitions(); } PropertyScanner(Class<?> clazz, String defaultNamespace);   }