//
if (typeMetaData == null) {
log.debug("No meta data found for java type " + javaType + " about to build it");
boolean serialized = javaType.getAnnotation(Serialized.class) != null;
Converted converted = javaType.getAnnotation(Converted.class);
if (serialized) {
if (converted != null) {
throw new TypeException();
}
typeMetaData = new ClassTypeMetaData(javaType.getName(), true);
} else if (converted != null) {
typeMetaData = new ConvertedTypeMetaData(javaType.getName(), converted.value());
} else {
typeMetaData = new ClassTypeMetaData(javaType.getName(), false);
}
}
log.debug("Built type meta data " + typeMetaData + " for java type " + javaType);