Home | History | Annotate | Download | only in answers

Lines Matching refs:method

7 import java.lang.reflect.Method;
15 private final Method method;
18 this.method = theInvocation.getMethod();
22 Class<?>[] exceptions = method.getExceptionTypes();
34 if (method.getReturnType().isPrimitive() || clazz.isPrimitive()) {
35 return Primitives.primitiveTypeOf(clazz) == Primitives.primitiveTypeOf(method.getReturnType());
37 return method.getReturnType().isAssignableFrom(clazz);
46 Class<?> returnType = this.method.getReturnType();
51 return method.getReturnType().getSimpleName();
55 return method.getName();
59 return method.getReturnType().isPrimitive();
62 public Method getMethod() {
63 return method;
67 return method.getDeclaringClass().isInterface();
72 return (method.getModifiers() & Modifier.ABSTRACT) != 0;