public class JParameter extends JVariable
Modifier | Constructor and Description |
---|---|
protected |
JParameter(int index,
JOperation enclosingOperation,
ClasspathResolver resolver) |
Modifier and Type | Method and Description |
---|---|
void |
acceptVisitor(IntrospectionVisitor visitor) |
boolean |
equals(Object obj) |
Set<JAnnotation<?>> |
getAnnotations() |
JOperation |
getEnclosingElement() |
JOperation |
getEnclosingMethod() |
JType |
getEnclosingType() |
int |
getIndex() |
static JParameter |
getJParameter(int index,
JOperation enclosingOperation,
ClasspathResolver resolver) |
JType |
getType() |
int |
hashCode() |
getAnnotation, toString
findClassFile, getName, getResolver
protected JParameter(int index, JOperation enclosingOperation, ClasspathResolver resolver)
public static JParameter getJParameter(int index, JOperation enclosingOperation, ClasspathResolver resolver)
public JOperation getEnclosingMethod()
public JType getEnclosingType()
getEnclosingType
in class JVariable
public Set<JAnnotation<?>> getAnnotations() throws ClasspathAccessException
getAnnotations
in class JVariable
ClasspathAccessException
public JType getType() throws ClasspathAccessException
getType
in class JVariable
ClasspathAccessException
public int getIndex()
public void acceptVisitor(IntrospectionVisitor visitor) throws ClasspathAccessException
acceptVisitor
in class JElement
ClasspathAccessException
public JOperation getEnclosingElement()
getEnclosingElement
in class JElement
Copyright © 2010–2018 Jadira Systems. All rights reserved.