public abstract class JType extends JElement
Modifier | Constructor and Description |
---|---|
protected |
JType(javassist.bytecode.ClassFile classFile,
ClasspathResolver resolver) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
abstract Class<?> |
getActualClass() |
<A extends Annotation> |
getAnnotation(Class<A> annotation) |
javassist.bytecode.ClassFile |
getClassFile() |
String |
getModifier() |
abstract JPackage |
getPackage() |
int |
hashCode() |
boolean |
isPrivate() |
boolean |
isProtected() |
boolean |
isPublic() |
String |
toString() |
acceptVisitor, findClassFile, getAnnotations, getEnclosingElement, getName, getResolver
protected JType(javassist.bytecode.ClassFile classFile, ClasspathResolver resolver)
public abstract JPackage getPackage() throws ClasspathAccessException
ClasspathAccessException
public abstract Class<?> getActualClass() throws ClasspathAccessException
ClasspathAccessException
public <A extends Annotation> JAnnotation<A> getAnnotation(Class<A> annotation) throws ClasspathAccessException
getAnnotation
in class JElement
ClasspathAccessException
public String getModifier()
public boolean isPublic()
public boolean isProtected()
public boolean isPrivate()
public javassist.bytecode.ClassFile getClassFile()
Copyright © 2010–2018 Jadira Systems. All rights reserved.