public abstract class JOperation extends JElement
Modifier | Constructor and Description |
---|---|
protected |
JOperation(javassist.bytecode.MethodInfo methodInfo,
JType enclosingType,
ClasspathResolver resolver) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Method |
getActualMethod() |
<A extends Annotation> |
getAnnotation(Class<A> annotation) |
Set<JAnnotation<?>> |
getAnnotations() |
JType |
getEnclosingElement() |
JType |
getEnclosingType() |
protected javassist.bytecode.MethodInfo |
getMethodInfo() |
protected Class<?>[] |
getMethodParamClasses(javassist.bytecode.MethodInfo methodInfo) |
List<JParameter> |
getParameters() |
int |
hashCode() |
String |
toString() |
acceptVisitor, findClassFile, getName, getResolver
protected JOperation(javassist.bytecode.MethodInfo methodInfo, JType enclosingType, ClasspathResolver resolver)
public JType getEnclosingType()
public Set<JAnnotation<?>> getAnnotations()
getAnnotations
in class JElement
public <A extends Annotation> JAnnotation<A> getAnnotation(Class<A> annotation)
getAnnotation
in class JElement
protected javassist.bytecode.MethodInfo getMethodInfo()
public List<JParameter> getParameters() throws ClasspathAccessException
ClasspathAccessException
public Method getActualMethod() throws ClasspathAccessException
ClasspathAccessException
public JType getEnclosingElement()
getEnclosingElement
in class JElement
protected Class<?>[] getMethodParamClasses(javassist.bytecode.MethodInfo methodInfo) throws ClasspathAccessException
ClasspathAccessException
Copyright © 2010–2018 Jadira Systems. All rights reserved.