for (RProperty prop : r.getProperties().values()) {
if (prop.getName().equals("class") || prop.getReadMethod() == null) {
continue;
}
JSONField field = prop.getReadMethod().getBaseMethod()
.getAnnotation(JSONField.class);
JSONOmit omit = prop.getReadMethod().getBaseMethod()
.getAnnotation(JSONOmit.class);
System.out.println(" ws \t "+prop.getName() +" "+ prop.getReadMethod().getBaseMethod().getEnclosingType()+ prop.getReadMethod().getBaseMethod().getReadableDeclaration() + " "+ omit +" "+field );
if (omit != null) {
continue;
}
String fieldName = (field == null) ? prop.getName() : field.value();
if (prop.getReadMethod() != null) {
JClassType classType = prop.getType().isClassOrInterface();
JArrayType arrayType = prop.getType().isArray();
System.out.println(prop.getName()+ " ArrayType "+arrayType +" :: "+((arrayType == null ? "" : ""+arrayType.getComponentType())));