Uses of Class
org.apache.bcel.classfile.JavaClass
-
Packages that use JavaClass Package Description org.apache.bcel This package contains basic classes for the Byte Code Engineering Library and constants defined by the JVM specification.org.apache.bcel.classfile This package contains the classes that describe the structure of a Java class file and a class file parser.org.apache.bcel.generic This package contains the "generic" part of the Byte Code Engineering Library, i.e., classes to dynamically modify class objects and byte code instructions.org.apache.bcel.util This package contains utility classes for the Byte Code Engineering Library, namely:org.apache.bcel.verifier.statics Provides PassVerifier classes used internally by JustIce. -
-
Uses of JavaClass in org.apache.bcel
Methods in org.apache.bcel that return JavaClass Modifier and Type Method Description static JavaClass
Repository. addClass(JavaClass clazz)
Adds clazz to repository if there isn't an equally named class already in there.static JavaClass[]
Repository. getInterfaces(java.lang.String class_name)
static JavaClass[]
Repository. getInterfaces(JavaClass clazz)
static JavaClass[]
Repository. getSuperClasses(java.lang.String class_name)
static JavaClass[]
Repository. getSuperClasses(JavaClass clazz)
static JavaClass
Repository. lookupClass(java.lang.Class<?> clazz)
Tries to find class source using the internal repository instance.static JavaClass
Repository. lookupClass(java.lang.String class_name)
Lookups class somewhere found on your CLASSPATH, or whereever the repository instance looks for it.Methods in org.apache.bcel with parameters of type JavaClass Modifier and Type Method Description static JavaClass
Repository. addClass(JavaClass clazz)
Adds clazz to repository if there isn't an equally named class already in there.static JavaClass[]
Repository. getInterfaces(JavaClass clazz)
static JavaClass[]
Repository. getSuperClasses(JavaClass clazz)
static boolean
Repository. implementationOf(java.lang.String clazz, JavaClass inter)
static boolean
Repository. implementationOf(JavaClass clazz, java.lang.String inter)
static boolean
Repository. implementationOf(JavaClass clazz, JavaClass inter)
static boolean
Repository. instanceOf(java.lang.String clazz, JavaClass super_class)
static boolean
Repository. instanceOf(JavaClass clazz, java.lang.String super_class)
static boolean
Repository. instanceOf(JavaClass clazz, JavaClass super_class)
Equivalent to runtime "instanceof" operator.static void
Repository. removeClass(JavaClass clazz)
Removes given class from repository. -
Uses of JavaClass in org.apache.bcel.classfile
Methods in org.apache.bcel.classfile that return JavaClass Modifier and Type Method Description JavaClass
JavaClass. copy()
JavaClass[]
JavaClass. getAllInterfaces()
Get all interfaces implemented by this JavaClass (transitively).JavaClass[]
JavaClass. getInterfaces()
Get interfaces directly implemented by this JavaClass.JavaClass
JavaClass. getSuperClass()
JavaClass[]
JavaClass. getSuperClasses()
JavaClass
ClassParser. parse()
Parses the given Java class file and return an object that represents the contained data, i.e., constants, methods, fields and commands.Methods in org.apache.bcel.classfile with parameters of type JavaClass Modifier and Type Method Description int
JavaClass. compareTo(JavaClass obj)
Return the natural ordering of two JavaClasses.boolean
JavaClass. implementationOf(JavaClass inter)
boolean
JavaClass. instanceOf(JavaClass super_class)
Equivalent to runtime "instanceof" operator.void
DescendingVisitor. visitJavaClass(JavaClass _clazz)
void
EmptyVisitor. visitJavaClass(JavaClass obj)
void
Visitor. visitJavaClass(JavaClass obj)
Constructors in org.apache.bcel.classfile with parameters of type JavaClass Constructor Description DescendingVisitor(JavaClass clazz, Visitor visitor)
-
Uses of JavaClass in org.apache.bcel.generic
Methods in org.apache.bcel.generic that return JavaClass Modifier and Type Method Description JavaClass
ClassGen. getJavaClass()
Constructors in org.apache.bcel.generic with parameters of type JavaClass Constructor Description ClassGen(JavaClass clazz)
Initialize with existing class. -
Uses of JavaClass in org.apache.bcel.util
Fields in org.apache.bcel.util with type parameters of type JavaClass Modifier and Type Field Description protected java.util.LinkedList<JavaClass>
ClassQueue. vec
Deprecated.(since 6.0) will be made private; do not accessprotected java.util.List<JavaClass>
ClassVector. vec
Deprecated.Methods in org.apache.bcel.util that return JavaClass Modifier and Type Method Description protected JavaClass
ClassLoader. createClass(java.lang.String class_name)
Deprecated.Override this method to create you own classes on the fly.JavaClass
ClassQueue. dequeue()
JavaClass
ClassVector. elementAt(int index)
Deprecated.JavaClass
ClassLoaderRepository. findClass(java.lang.String className)
Find an already defined JavaClass.JavaClass
ClassPathRepository. findClass(java.lang.String className)
Finds an already defined (cached) JavaClass object by name.JavaClass
LruCacheClassPathRepository. findClass(java.lang.String className)
JavaClass
MemorySensitiveClassPathRepository. findClass(java.lang.String className)
Find an already defined (cached) JavaClass object by name.JavaClass
Repository. findClass(java.lang.String className)
Finds the class with the name provided, if the class isn't there, return NULL.JavaClass
ClassLoaderRepository. loadClass(java.lang.Class<?> clazz)
JavaClass
ClassLoaderRepository. loadClass(java.lang.String className)
Lookup a JavaClass object from the Class Name provided.JavaClass
Repository. loadClass(java.lang.Class<?> clazz)
Finds the JavaClass instance for the given run-time class objectJavaClass
Repository. loadClass(java.lang.String className)
Finds the class with the name provided, if the class isn't there, make an attempt to load it.protected JavaClass
ClassLoader. modifyClass(JavaClass clazz)
Deprecated.Override this method if you want to alter a class before it gets actually loaded.JavaClass
ClassStack. pop()
JavaClass[]
ClassSet. toArray()
JavaClass[]
ClassVector. toArray()
Deprecated.JavaClass
ClassStack. top()
Methods in org.apache.bcel.util with parameters of type JavaClass Modifier and Type Method Description boolean
ClassSet. add(JavaClass clazz)
void
ClassVector. addElement(JavaClass clazz)
Deprecated.void
ClassQueue. enqueue(JavaClass clazz)
protected JavaClass
ClassLoader. modifyClass(JavaClass clazz)
Deprecated.Override this method if you want to alter a class before it gets actually loaded.void
ClassStack. push(JavaClass clazz)
void
ClassSet. remove(JavaClass clazz)
void
ClassLoaderRepository. removeClass(JavaClass clazz)
Remove class from repositoryvoid
ClassPathRepository. removeClass(JavaClass javaClass)
Removes class from repository.void
LruCacheClassPathRepository. removeClass(JavaClass javaClass)
void
MemorySensitiveClassPathRepository. removeClass(JavaClass clazz)
Remove class from repositoryvoid
Repository. removeClass(JavaClass clazz)
Removes class from repositoryvoid
ClassLoaderRepository. storeClass(JavaClass clazz)
Store a new JavaClass into this Repository.void
ClassPathRepository. storeClass(JavaClass javaClass)
Stores a new JavaClass instance into this Repository.void
LruCacheClassPathRepository. storeClass(JavaClass javaClass)
void
MemorySensitiveClassPathRepository. storeClass(JavaClass clazz)
Store a new JavaClass instance into this Repository.void
Repository. storeClass(JavaClass clazz)
Stores the provided class under "clazz.getClassName()"void
BCELifier. visitJavaClass(JavaClass clazz)
Constructors in org.apache.bcel.util with parameters of type JavaClass Constructor Description BCELifier(JavaClass clazz, java.io.OutputStream out)
Class2HTML(JavaClass java_class, java.lang.String dir)
Write contents of the given JavaClass into HTML files. -
Uses of JavaClass in org.apache.bcel.verifier.statics
Methods in org.apache.bcel.verifier.statics with parameters of type JavaClass Modifier and Type Method Description void
StringRepresentation. visitJavaClass(JavaClass obj)
-