## Uses of Class
org.apache.bcel.classfile.JavaClass

Packages that use JavaClass
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: Collection classes for JavaClass objects A converter for class files to HTML A tool to find instructions patterns via regular expressions A class to find classes as defined in the CLASSPATH A class loader that allows to create clases at run time
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
`static JavaClass` `Repository.lookupClass(java.lang.String class_name)` Lookup class somewhere found on your CLASSPATH, or whereever the repository instance looks for it.
`static JavaClass` `Repository.lookupClass(java.lang.Class clazz)` Try to find class source via getResourceAsStream().
`static JavaClass` `Repository.addClass(JavaClass clazz)` Add clazz to repository if there isn't an equally named class already in there.
`static JavaClass[]` `Repository.getSuperClasses(JavaClass clazz)`
`static JavaClass[]` `Repository.getSuperClasses(java.lang.String class_name)`
`static JavaClass[]` `Repository.getInterfaces(JavaClass clazz)`
`static JavaClass[]` `Repository.getInterfaces(java.lang.String class_name)`

Methods in org.apache.bcel with parameters of type JavaClass
`static JavaClass` `Repository.addClass(JavaClass clazz)` Add clazz to repository if there isn't an equally named class already in there.
`static void` `Repository.removeClass(JavaClass clazz)` Remove given class from repository.
`static JavaClass[]` `Repository.getSuperClasses(JavaClass clazz)`
`static JavaClass[]` `Repository.getInterfaces(JavaClass clazz)`
`static boolean` `Repository.instanceOf(JavaClass clazz, JavaClass super_class)` Equivalent to runtime "instanceof" operator.
`static boolean` `Repository.instanceOf(JavaClass clazz, JavaClass super_class)` Equivalent to runtime "instanceof" operator.
`static boolean` `Repository.instanceOf(JavaClass clazz, java.lang.String super_class)`
`static boolean` `Repository.instanceOf(java.lang.String clazz, JavaClass super_class)`
`static boolean` `Repository.implementationOf(JavaClass clazz, JavaClass inter)`
`static boolean` `Repository.implementationOf(JavaClass clazz, JavaClass inter)`
`static boolean` `Repository.implementationOf(JavaClass clazz, java.lang.String inter)`
`static boolean` `Repository.implementationOf(java.lang.String clazz, JavaClass inter)`

Uses of JavaClass in org.apache.bcel.classfile

Methods in org.apache.bcel.classfile that return JavaClass
`JavaClass` `JavaClass.copy()`
`JavaClass` `JavaClass.getSuperClass()`
`JavaClass[]` `JavaClass.getSuperClasses()`
`JavaClass[]` `JavaClass.getInterfaces()` Get interfaces directly implemented by this JavaClass.
`JavaClass[]` `JavaClass.getAllInterfaces()` Get all interfaces implemented by this JavaClass (transitively).
`JavaClass` `ClassParser.parse()` Parse 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
`void` `Visitor.visitJavaClass(JavaClass obj)`
`boolean` `JavaClass.instanceOf(JavaClass super_class)` Equivalent to runtime "instanceof" operator.
`boolean` `JavaClass.implementationOf(JavaClass inter)`
`void` `EmptyVisitor.visitJavaClass(JavaClass obj)`
`void` `DescendingVisitor.visitJavaClass(JavaClass clazz)`

Constructors in org.apache.bcel.classfile with parameters of type JavaClass
`DescendingVisitor(JavaClass clazz, Visitor visitor)`

Uses of JavaClass in org.apache.bcel.generic

Methods in org.apache.bcel.generic that return JavaClass
`JavaClass` `ClassGen.getJavaClass()`

Constructors in org.apache.bcel.generic with parameters of type JavaClass
`ClassGen(JavaClass clazz)` Initialize with existing class.

Uses of JavaClass in org.apache.bcel.util

Methods in org.apache.bcel.util that return JavaClass
`JavaClass` `SyntheticRepository.findClass(java.lang.String className)` Find an already defined (cached) JavaClass object by name.
`JavaClass` `SyntheticRepository.loadClass(java.lang.String className)` Load a JavaClass object for the given class name using the CLASSPATH environment variable.
`JavaClass` `SyntheticRepository.loadClass(java.lang.Class clazz)` Try to find class source via getResourceAsStream().
`JavaClass` `Repository.findClass(java.lang.String className)` Find the class with the name provided, if the class isn't there, return NULL.
`JavaClass` `Repository.loadClass(java.lang.String className)` Find the class with the name provided, if the class isn't there, make an attempt to load it.
`JavaClass` `Repository.loadClass(java.lang.Class clazz)` Find the JavaClass instance for the given run-time class object
`JavaClass` `ClassVector.elementAt(int index)`
`JavaClass[]` `ClassVector.toArray()`
`JavaClass` `ClassStack.pop()`
`JavaClass` `ClassStack.top()`
`JavaClass[]` `ClassSet.toArray()`
`JavaClass` `ClassQueue.dequeue()`
`JavaClass` `ClassLoaderRepository.findClass(java.lang.String className)` Find an already defined JavaClass.
`JavaClass` `ClassLoaderRepository.loadClass(java.lang.String className)` Lookup a JavaClass object from the Class Name provided.
`JavaClass` `ClassLoaderRepository.loadClass(java.lang.Class clazz)`
`protected JavaClass` `ClassLoader.modifyClass(JavaClass clazz)` Override this method if you want to alter a class before it gets actually loaded.
`protected JavaClass` `ClassLoader.createClass(java.lang.String class_name)` Override this method to create you own classes on the fly.

Methods in org.apache.bcel.util with parameters of type JavaClass
`void` `SyntheticRepository.storeClass(JavaClass clazz)` Store a new JavaClass instance into this Repository.
`void` `SyntheticRepository.removeClass(JavaClass clazz)` Remove class from repository
`void` `Repository.storeClass(JavaClass clazz)` Store the provided class under "clazz.getClassName()"
`void` `Repository.removeClass(JavaClass clazz)` Remove class from repository
`void` `ClassVector.addElement(JavaClass clazz)`
`void` `ClassStack.push(JavaClass clazz)`
`boolean` `ClassSet.add(JavaClass clazz)`
`void` `ClassSet.remove(JavaClass clazz)`
`void` `ClassQueue.enqueue(JavaClass clazz)`
`void` `ClassLoaderRepository.storeClass(JavaClass clazz)` Store a new JavaClass into this Repository.
`void` `ClassLoaderRepository.removeClass(JavaClass clazz)` Remove class from repository
`protected JavaClass` `ClassLoader.modifyClass(JavaClass clazz)` Override this method if you want to alter a class before it gets actually loaded.
`void` `BCELifier.visitJavaClass(JavaClass clazz)`

Constructors in org.apache.bcel.util with parameters of type JavaClass
`Class2HTML(JavaClass java_class, java.lang.String dir)` Write contents of the given JavaClass into HTML files.
`BCELifier(JavaClass clazz, java.io.OutputStream out)`

Uses of JavaClass in org.apache.bcel.verifier.statics

Methods in org.apache.bcel.verifier.statics with parameters of type JavaClass
`void` `StringRepresentation.visitJavaClass(JavaClass obj)`

Copyright © 2002-2003 Apache Software Foundation. All Rights Reserved.