|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MethodInfo
Method info
Field Summary | |
---|---|
static ClassInfo[] |
NO_EXCEPTIONS
No Exceptions |
static ParameterInfo[] |
NO_PARAMS
No parameters |
static TypeInfo[] |
NO_PARAMS_TYPES
No parameters |
Fields inherited from interface org.jboss.reflect.spi.ModifierInfo |
---|
ABSTRACT, CONSTANT, FINAL, PACKAGE, PACKAGE_ABSTRACT, PACKAGE_CONSTANT, PACKAGE_STATIC, PRIVATE, PRIVATE_CONSTANT, PRIVATE_STATIC, PROTECTED, PROTECTED_ABSTRACT, PROTECTED_CONSTANT, PROTECTED_STATIC, PUBLIC, PUBLIC_ABSTRACT, PUBLIC_CONSTANT, PUBLIC_STATIC, STATIC |
Method Summary | |
---|---|
ClassInfo[] |
getExceptionTypes()
Get the exception types |
String |
getName()
Get the method name |
ParameterInfo[] |
getParameters()
Get the parameters |
TypeInfo[] |
getParameterTypes()
Get the parameter types |
TypeInfo |
getReturnType()
Get the return type |
Object |
invoke(Object target,
Object[] args)
Invoke the method |
Methods inherited from interface org.jboss.reflect.spi.AnnotatedInfo |
---|
getAnnotation, getAnnotations, getUnderlyingAnnotation, getUnderlyingAnnotations, isAnnotationPresent, isAnnotationPresent |
Methods inherited from interface org.jboss.util.JBossInterface |
---|
clone, toShortString, toShortString |
Methods inherited from interface org.jboss.reflect.spi.MemberInfo |
---|
getDeclaringClass |
Methods inherited from interface org.jboss.reflect.spi.ModifierInfo |
---|
getModifiers, isPublic, isStatic, isVolatile |
Field Detail |
---|
static final TypeInfo[] NO_PARAMS_TYPES
static final ParameterInfo[] NO_PARAMS
static final ClassInfo[] NO_EXCEPTIONS
Method Detail |
---|
String getName()
TypeInfo[] getParameterTypes()
ParameterInfo[] getParameters()
ClassInfo[] getExceptionTypes()
TypeInfo getReturnType()
Object invoke(Object target, Object[] args) throws Throwable
target
- the targetargs
- the arguments
Throwable
- for any error
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |