public abstract class JVariable extends JElement
Modifier | Constructor and Description |
---|---|
protected |
JVariable(String name,
ClasspathResolver resolver) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
<A extends Annotation> |
getAnnotation(Class<A> annotation) |
abstract Set<JAnnotation<?>> |
getAnnotations() |
abstract JType |
getEnclosingType() |
abstract JType |
getType() |
int |
hashCode() |
String |
toString() |
acceptVisitor, findClassFile, getEnclosingElement, getName, getResolver
protected JVariable(String name, ClasspathResolver resolver)
public abstract JType getEnclosingType() throws ClasspathAccessException
ClasspathAccessException
public abstract JType getType() throws ClasspathAccessException
ClasspathAccessException
public abstract Set<JAnnotation<?>> getAnnotations() throws ClasspathAccessException
getAnnotations
in class JElement
ClasspathAccessException
public <A extends Annotation> JAnnotation<A> getAnnotation(Class<A> annotation) throws ClasspathAccessException
getAnnotation
in class JElement
ClasspathAccessException
Copyright © 2010–2018 Jadira Systems. All rights reserved.