public class JInterface extends JType
Modifier | Constructor and Description |
---|---|
protected |
JInterface(javassist.bytecode.ClassFile classFile,
ClasspathResolver resolver) |
protected |
JInterface(String name,
ClasspathResolver resolver) |
Modifier and Type | Method and Description |
---|---|
void |
acceptVisitor(IntrospectionVisitor visitor) |
boolean |
equals(Object obj) |
Class<?> |
getActualClass() |
Class<?> |
getActualInterface() |
List<Class<?>> |
getActualSuperInterfaces() |
Set<JAnnotation<?>> |
getAnnotations() |
JPackage |
getEnclosingElement() |
Set<JClass> |
getImplementingClasses() |
static JInterface |
getJInterface(javassist.bytecode.ClassFile classFile,
ClasspathResolver resolver) |
static JInterface |
getJInterface(String name,
ClasspathResolver resolver) |
List<JMethod> |
getMethods() |
JPackage |
getPackage() |
Set<JInterface> |
getSubInterfaces() |
List<JInterface> |
getSuperInterfaces() |
int |
hashCode() |
getAnnotation, getClassFile, getModifier, isPrivate, isProtected, isPublic, toString
findClassFile, getName, getResolver
protected JInterface(String name, ClasspathResolver resolver) throws ClasspathAccessException
ClasspathAccessException
protected JInterface(javassist.bytecode.ClassFile classFile, ClasspathResolver resolver)
public static JInterface getJInterface(String name, ClasspathResolver resolver) throws ClasspathAccessException
ClasspathAccessException
public static JInterface getJInterface(javassist.bytecode.ClassFile classFile, ClasspathResolver resolver)
public List<JInterface> getSuperInterfaces() throws ClasspathAccessException
ClasspathAccessException
public List<Class<?>> getActualSuperInterfaces() throws ClasspathAccessException
ClasspathAccessException
public List<JMethod> getMethods()
public Class<?> getActualInterface() throws ClasspathAccessException
ClasspathAccessException
public Set<JAnnotation<?>> getAnnotations() throws ClasspathAccessException
getAnnotations
in class JElement
ClasspathAccessException
public JPackage getPackage() throws ClasspathAccessException
getPackage
in class JType
ClasspathAccessException
public Class<?> getActualClass() throws ClasspathAccessException
getActualClass
in class JType
ClasspathAccessException
public Set<JInterface> getSubInterfaces()
public Set<JClass> getImplementingClasses()
public void acceptVisitor(IntrospectionVisitor visitor) throws ClasspathAccessException
acceptVisitor
in class JElement
ClasspathAccessException
public JPackage getEnclosingElement()
getEnclosingElement
in class JElement
Copyright © 2010–2018 Jadira Systems. All rights reserved.