Uses of Class
org.apache.bcel.classfile.JavaClass
Packages that use JavaClass
Package
Description
Basic classes for the Apache Byte Code Engineering Library (BCEL) and constants defined by the
JVM specification.
Classes that describe the structure of a Java class file and a class file parser.
Generic part of the Apache Byte Code Engineering Library (BCEL), classes to dynamically modify class objects
and byte code instructions.
Utility classes for the Apache Byte Code Engineering Library (BCEL), 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 classes at run time
PassVerifier classes used internally by JustIce.
-
Uses of JavaClass in org.apache.bcel
Methods in org.apache.bcel that return JavaClassModifier and TypeMethodDescriptionstatic JavaClassAdds clazz to repository if there isn't an equally named class already in there.static JavaClass[]Repository.getInterfaces(String className) static JavaClass[]Repository.getInterfaces(JavaClass clazz) static JavaClass[]Repository.getSuperClasses(String className) static JavaClass[]Repository.getSuperClasses(JavaClass clazz) static JavaClassRepository.lookupClass(Class<?> clazz) Tries to find class source using the internal repository instance.static JavaClassRepository.lookupClass(String className) Lookups class somewhere found on your CLASSPATH, or whereever the repository instance looks for it.Methods in org.apache.bcel with parameters of type JavaClassModifier and TypeMethodDescriptionstatic JavaClassAdds 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 booleanRepository.implementationOf(String clazz, JavaClass inter) static booleanRepository.implementationOf(JavaClass clazz, String inter) static booleanRepository.implementationOf(JavaClass clazz, JavaClass inter) static booleanRepository.instanceOf(String clazz, JavaClass superclass) static booleanRepository.instanceOf(JavaClass clazz, String superclass) static booleanRepository.instanceOf(JavaClass clazz, JavaClass superclass) Equivalent to runtime "instanceof" operator.static voidRepository.removeClass(JavaClass clazz) Removes given class from repository. -
Uses of JavaClass in org.apache.bcel.classfile
Classes in org.apache.bcel.classfile that implement interfaces with type arguments of type JavaClassModifier and TypeClassDescriptionclassRepresents a Java class, that is, the data structures, constant pool, fields, methods and commands contained in a Java .class file.Fields in org.apache.bcel.classfile declared as JavaClassMethods in org.apache.bcel.classfile that return JavaClassModifier and TypeMethodDescriptionJavaClass.copy()Creates a deep copy of this class.JavaClass.getAllInterfaces()Gets all interfaces implemented by this JavaClass (transitively).JavaClass.getInterfaces()Gets interfaces directly implemented by this JavaClass.JavaClass.getSuperClass()Gets the superclass for this JavaClass object, or null if this isObject.JavaClass.getSuperClasses()Gets list of super classes of this class in ascending order.ClassParser.parse()Parses the given Java class file and return an object that represents the contained data, that is, constants, methods, fields and commands.Methods in org.apache.bcel.classfile that return types with arguments of type JavaClassModifier and TypeMethodDescriptionstatic BCELComparator<JavaClass> JavaClass.getComparator()Gets the comparison strategy object.Methods in org.apache.bcel.classfile with parameters of type JavaClassModifier and TypeMethodDescriptionintReturn the natural ordering of two JavaClasses.booleanJavaClass.implementationOf(JavaClass inter) Checks if this class is an implementation of interface inter.final booleanJavaClass.instanceOf(JavaClass superclass) Equivalent to runtime "instanceof" operator.voidDescendingVisitor.visitJavaClass(JavaClass clazz) voidEmptyVisitor.visitJavaClass(JavaClass obj) voidVisitor.visitJavaClass(JavaClass obj) Visits a JavaClass.Method parameters in org.apache.bcel.classfile with type arguments of type JavaClassModifier and TypeMethodDescriptionstatic voidJavaClass.setComparator(BCELComparator<JavaClass> comparator) Sets the comparison strategy object.Constructors in org.apache.bcel.classfile with parameters of type JavaClassModifierConstructorDescriptionDescendingVisitor(JavaClass clazz, Visitor visitor) Constructs a DescendingVisitor. -
Uses of JavaClass in org.apache.bcel.generic
Methods in org.apache.bcel.generic that return JavaClassModifier and TypeMethodDescriptionClassGen.getJavaClass()Gets the (finally) built up Java class object.Constructors in org.apache.bcel.generic with parameters of type JavaClass -
Uses of JavaClass in org.apache.bcel.util
Fields in org.apache.bcel.util with type parameters of type JavaClassModifier and TypeFieldDescriptionprotected LinkedList<JavaClass> ClassQueue.vecDeprecated.(since 6.0) will be made private; do not accessClassVector.vecDeprecated.Will be made private; do not access directly, use getter/setter.Methods in org.apache.bcel.util that return JavaClassModifier and TypeMethodDescriptionprotected JavaClassClassLoader.createClass(String className) Deprecated.Override this method to create you own classes on the fly.ClassQueue.dequeue()Removes and returns the first JavaClass from the queue.ClassVector.elementAt(int index) Deprecated.Gets the JavaClass at the specified index.Find an already defined JavaClass.Finds an already defined (cached) JavaClass object by name.Find an already defined (cached) JavaClass object by name.Finds the class with the name provided, if the class isn't there, return NULL.Lookup a JavaClass object from the Class Name provided.Finds the JavaClass instance for the given run-time class object.Finds the class with the name provided, if the class isn't there, make an attempt to load it.protected JavaClassClassLoader.modifyClass(JavaClass clazz) Deprecated.Override this method if you want to alter a class before it gets actually loaded.ClassStack.pop()Pops a JavaClass from the stack.ClassSet.toArray()Converts the set to an array.ClassVector.toArray()Deprecated.Converts the vector to an array.ClassStack.top()Gets the top JavaClass from the stack without removing it.Methods in org.apache.bcel.util with parameters of type JavaClassModifier and TypeMethodDescriptionbooleanAdds a JavaClass to the set.voidClassVector.addElement(JavaClass clazz) Deprecated.Adds a JavaClass to the vector.voidAdds a JavaClass to the end of the queue.protected JavaClassClassLoader.modifyClass(JavaClass clazz) Deprecated.Override this method if you want to alter a class before it gets actually loaded.voidPushes a JavaClass onto the stack.voidRemoves a JavaClass from the set.voidClassLoaderRepository.removeClass(JavaClass clazz) Remove class from repositoryvoidClassPathRepository.removeClass(JavaClass javaClass) Removes class from repository.voidLruCacheClassPathRepository.removeClass(JavaClass javaClass) voidMemorySensitiveClassPathRepository.removeClass(JavaClass clazz) Remove class from repositoryvoidRepository.removeClass(JavaClass clazz) Removes class from repository.voidClassLoaderRepository.storeClass(JavaClass clazz) Store a new JavaClass into this Repository.voidClassPathRepository.storeClass(JavaClass javaClass) Stores a new JavaClass instance into this Repository.voidLruCacheClassPathRepository.storeClass(JavaClass javaClass) voidMemorySensitiveClassPathRepository.storeClass(JavaClass clazz) Store a new JavaClass instance into this Repository.voidRepository.storeClass(JavaClass clazz) Stores the provided class under "clazz.getClassName()".voidBCELifier.visitJavaClass(JavaClass clazz) Constructors in org.apache.bcel.util with parameters of type JavaClassModifierConstructorDescriptionBCELifier(JavaClass clazz, OutputStream out) Constructs a new instance.Class2HTML(JavaClass javaClass, String dir) Writes 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