((type.isPrimitive() != null) &&
JPrimitiveType.BOOLEAN.equals(type.isPrimitive()))) {
return innerExpression + ".isBoolean().booleanValue() ";
}
BeanResolver child = findType(type);
if (child != null) {
this.children.add(child);
return "CODEC_" +
child.getType().getQualifiedSourceName().replaceAll("\\.", "_") +
".deserializeFromJSONObject(" + innerExpression + ".isObject())";
}
throw new RuntimeException(""+type);
}