result.setStatic(Modifier.isStatic(method.getModifiers()));
Type returnType = null;
try {
returnType = method.getGenericReturnType();
} catch(GenericSignatureFormatError error) {
<BUG>log.warn("Invalid class file for: " + method.getDeclaringClass().getCanonicalName(), error);
returnType = method.getReturnType();</BUG>
}
result.setReturnType(createTypeReference(returnType));
Type[] exceptionTypes;

result.setStatic(Modifier.isStatic(method.getModifiers()));
Type returnType = null;
try {
returnType = method.getGenericReturnType();
} catch(GenericSignatureFormatError error) {
logSignatureFormatError(method.getDeclaringClass());
returnType = method.getReturnType();
}
result.setReturnType(createTypeReference(returnType));
Type[] exceptionTypes;
