boolean need = reflectable.relationTypes();
for (JMethod method : classType.getMethods()){
if (reflectable.fieldAnnotations() || (hasReflectionAnnotation(method))){
processAnnotationClasses(method, reflectable);
HasReflect hasReflect = method.getAnnotation(HasReflect.class);
JClassType type = null;
if (need || (hasReflect != null && hasReflect.resultType())){
if (method.getReturnType() != null && method.getReturnType().isClassOrInterface() != null){
type = method.getReturnType().isClassOrInterface();
if (! type.isAssignableTo(classType))
processRelationClasses(type, reflectable);
addClassIfNotExists(type, reflectable);
}
}
if (need || (hasReflect != null && hasReflect.parameterTypes())){
for (JParameter parameter :method.getParameters()){
if (parameter.getType() != null && parameter.getType().isClassOrInterface() != null){
type = parameter.getType().isClassOrInterface();
if (! type.isAssignableTo(classType))