public class JavassistMethodInfo extends JavassistAnnotatedParameterInfo implements MethodInfo
exceptionTypes, parameters, parameterTypes, typeInfoannotationHelper, annotationMap, annotationsArrayNO_EXCEPTIONS, NO_PARAMS, NO_PARAMS_TYPESABSTRACT, 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| Constructor and Description |
|---|
JavassistMethodInfo(AnnotationHelper annotationHelper,
JavassistTypeInfo typeInfo,
org.jboss.reflect.plugins.javassist.SignatureKey key,
javassist.CtMethod ctMethod)
Create a new JavassistMethodInfo.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
createParameterAnnotations() |
boolean |
equals(Object obj) |
protected void |
generateParameters()
Generate parameters
|
AnnotationValue[] |
getAnnotations()
Get the annotations
|
ClassInfo |
getDeclaringClass()
Get the declaring class
|
ClassInfo[] |
getExceptionTypes()
Get the exception types
|
protected int |
getHashCode() |
int |
getModifiers()
Get the modifiers
|
String |
getName()
Get the method name
|
protected javassist.CtBehavior |
getParameterizedObject() |
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
|
boolean |
isPublic()
Whether it is public
|
boolean |
isStatic()
Whether it is static
|
boolean |
isVolatile()
Whether it is volatile
|
void |
toShortString(org.jboss.util.JBossStringBuilder buffer) |
protected void |
toString(org.jboss.util.JBossStringBuilder buffer) |
setupParameterAnnotationsgetAnnotation, getAnnotations, isAnnotationPresent, setupAnnotationsgetUnderlyingAnnotation, getUnderlyingAnnotations, isAnnotationPresentcacheGetHashCode, cacheToString, clone, equals, flushJBossObjectCache, getClassShortName, hashCode, list, notEqual, toShortString, toString, toStringImplementationfinalize, getClass, notify, notifyAll, wait, wait, waitgetAnnotation, getUnderlyingAnnotation, getUnderlyingAnnotations, isAnnotationPresent, isAnnotationPresentpublic JavassistMethodInfo(AnnotationHelper annotationHelper, JavassistTypeInfo typeInfo, org.jboss.reflect.plugins.javassist.SignatureKey key, javassist.CtMethod ctMethod)
annotationHelper - the annotation helpertypeInfo - the type infokey - the keyctMethod - the methodpublic String getName()
MethodInfogetName in interface MethodInfopublic ClassInfo getDeclaringClass()
MemberInfogetDeclaringClass in interface MemberInfopublic int getModifiers()
ModifierInfogetModifiers in interface ModifierInfopublic boolean isPublic()
ModifierInfoisPublic in interface ModifierInfopublic boolean isStatic()
ModifierInfoisStatic in interface ModifierInfopublic boolean isVolatile()
ModifierInfoisVolatile in interface ModifierInfopublic ClassInfo[] getExceptionTypes()
MethodInfogetExceptionTypes in interface MethodInfopublic TypeInfo getReturnType()
MethodInfogetReturnType in interface MethodInfopublic ParameterInfo[] getParameters()
MethodInfogetParameters in interface MethodInfopublic TypeInfo[] getParameterTypes()
MethodInfogetParameterTypes in interface MethodInfopublic Object invoke(Object target, Object[] args) throws Throwable
MethodInfoinvoke in interface MethodInfotarget - the targetargs - the argumentsThrowable - for any errorprotected int getHashCode()
getHashCode in class org.jboss.util.JBossObjectpublic void toShortString(org.jboss.util.JBossStringBuilder buffer)
toShortString in interface org.jboss.util.JBossInterfacetoShortString in class org.jboss.util.JBossObjectprotected void toString(org.jboss.util.JBossStringBuilder buffer)
toString in class org.jboss.util.JBossObjectprotected void generateParameters()
public AnnotationValue[] getAnnotations()
AnnotatedInfogetAnnotations in interface AnnotatedInfoprotected javassist.CtBehavior getParameterizedObject()
protected void createParameterAnnotations()
createParameterAnnotations in class JavassistAnnotatedParameterInfoCopyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.