public class BytecodeMethodInfo extends BytecodeBehaviourInfo implements MethodInfo, MethodInfoInternal
MutableMethodInfo.MutableMethodInfo,
Serialized Formbehaviour, 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 |
|---|
BytecodeMethodInfo(AnnotationHelper annotationHelper,
BytecodeTypeInfo typeInfo,
MethodBytes method)
Create a new JavassistMethodInfo.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
protected int |
getHashCode() |
String |
getName()
Get the method name
|
int |
getNumberParameters() |
TypeInfo |
getReturnType()
Get the return type
|
Object |
invoke(Object target,
Object[] args)
Invoke the method
|
void |
toShortString(org.jboss.util.JBossStringBuilder buffer) |
protected void |
toString(org.jboss.util.JBossStringBuilder buffer) |
createParameterAnnotations, generateParameters, getAnnotations, getDeclaringClass, getDescriptor, getExceptionTypes, getMethodSignature, getModifiers, getParameters, getParameterTypes, getSignatureKey, isPublic, isStatic, isVolatile, setupParameterAnnotationsgetAnnotation, getAnnotations, isAnnotationPresent, setupAnnotationsgetUnderlyingAnnotation, getUnderlyingAnnotations, isAnnotationPresentcacheGetHashCode, cacheToString, clone, equals, flushJBossObjectCache, getClassShortName, hashCode, list, notEqual, toShortString, toString, toStringImplementationfinalize, getClass, notify, notifyAll, wait, wait, waitgetExceptionTypes, getParameters, getParameterTypesgetAnnotation, getAnnotations, getUnderlyingAnnotation, getUnderlyingAnnotations, isAnnotationPresent, isAnnotationPresentgetDeclaringClassgetModifiers, isPublic, isStatic, isVolatilepublic BytecodeMethodInfo(AnnotationHelper annotationHelper, BytecodeTypeInfo typeInfo, MethodBytes method)
annotationHelper - the annotation helpertypeInfo - the type infomethod - the methodpublic String getName()
MethodInfogetName in interface MethodInfogetName in class BytecodeBehaviourInfopublic int getNumberParameters()
getNumberParameters in interface MethodInfoInternalpublic TypeInfo getReturnType()
MethodInfogetReturnType 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.JBossObjectCopyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.