public TypeMapping build() {
return _build();
}
private TypeMapping _build() {
NodeMapping nodeMapping = javaClass.getDeclaredAnnotation(NodeMapping.class);
if (nodeMapping == null) {
throw new IllegalStateException("Class " + javaClass + " is not annotated ");
}
//
String primaryNodeTypeName = nodeMapping.name();
Set<PropertyMapping> propertyMappings = new HashSet<PropertyMapping>();
Set<MethodMapping> methodMappings = new HashSet<MethodMapping>();
BeanInfo info = new BeanInfo(javaClass);
//