1 22 package org.jboss.reflect.spi; 23 24 30 public interface MethodInfo extends AnnotatedInfo, MemberInfo 31 { 32 33 public static final TypeInfo[] NO_PARAMS_TYPES = {}; 34 35 36 public static final ParameterInfo[] NO_PARAMS = {}; 37 38 39 public static final ClassInfo[] NO_EXCEPTIONS = {}; 40 41 46 String getName(); 47 48 53 ClassInfo getDeclaringClass(); 54 55 60 TypeInfo[] getParameterTypes(); 61 62 67 ParameterInfo[] getParameters(); 68 69 74 ClassInfo[] getExceptionTypes(); 75 76 81 TypeInfo getReturnType(); 82 83 91 Object invoke(Object target, Object [] args) throws Throwable ; 92 } 93 | Popular Tags |