Uses of Class
org.apache.bcel.classfile.JavaClass
-
Packages that use JavaClass Package Description org.apache.bcel Basic classes for the Apache Byte Code Engineering Library (BCEL) and constants defined by the JVM specification.org.apache.bcel.classfile Classes that describe the structure of a Java class file and a class file parser.org.apache.bcel.generic Generic part of the Apache Byte Code Engineering Library (BCEL), classes to dynamically modify class objects and byte code instructions.org.apache.bcel.util 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 timeorg.apache.bcel.verifier.statics 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 JavaClassRepository. 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 className)Gets all interfaces implemented by the class.static JavaClass[]Repository. getInterfaces(JavaClass clazz)Gets all interfaces implemented by the class.static JavaClass[]Repository. getSuperClasses(java.lang.String className)Gets the list of super classes.static JavaClass[]Repository. getSuperClasses(JavaClass clazz)Gets the list of super classes.static JavaClassRepository. lookupClass(java.lang.Class<?> clazz)Tries to find class source using the internal repository instance.static JavaClassRepository. lookupClass(java.lang.String className)Lookups class somewhere found on your CLASSPATH, or wherever the repository instance looks for it.Methods in org.apache.bcel with parameters of type JavaClass Modifier and Type Method Description static JavaClassRepository. addClass(JavaClass clazz)Adds clazz to repository if there isn't an equally named class already in there.static JavaClass[]Repository. getInterfaces(JavaClass clazz)Gets all interfaces implemented by the class.static JavaClass[]Repository. getSuperClasses(JavaClass clazz)Gets the list of super classes.static booleanRepository. implementationOf(java.lang.String clazz, JavaClass inter)Tests if clazz is an implementation of interface inter.static booleanRepository. implementationOf(JavaClass clazz, java.lang.String inter)Tests if clazz is an implementation of interface inter.static booleanRepository. implementationOf(JavaClass clazz, JavaClass inter)Tests if clazz is an implementation of interface inter.static booleanRepository. instanceOf(java.lang.String clazz, JavaClass superclass)Tests if clazz is an instance of superclass.static booleanRepository. instanceOf(JavaClass clazz, java.lang.String superclass)Tests if clazz is an instance of 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
Fields in org.apache.bcel.classfile declared as JavaClass Modifier and Type Field Description static JavaClass[]JavaClass. EMPTY_ARRAYEmpty array.Methods in org.apache.bcel.classfile that return JavaClass Modifier and Type Method Description JavaClassJavaClass. copy()Creates a deep copy of this class.JavaClass[]JavaClass. getAllInterfaces()Gets all interfaces implemented by this JavaClass (transitively).JavaClass[]JavaClass. getInterfaces()Gets interfaces directly implemented by this JavaClass.JavaClassJavaClass. getSuperClass()Gets the superclass for this JavaClass object, or null if this isObject.JavaClass[]JavaClass. getSuperClasses()Gets list of super classes of this class in ascending order.JavaClassClassParser. 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 JavaClass Modifier and Type Method Description static BCELComparator<JavaClass>JavaClass. getComparator()Gets the comparison strategy object.Methods in org.apache.bcel.classfile with parameters of type JavaClass Modifier and Type Method Description intJavaClass. compareTo(JavaClass obj)Return the natural ordering of two JavaClasses.booleanJavaClass. implementationOf(JavaClass inter)Checks if this class is an implementation of interface inter.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 JavaClass Modifier and Type Method Description static voidJavaClass. setComparator(BCELComparator<JavaClass> comparator)Sets the comparison strategy object.Constructors in org.apache.bcel.classfile with parameters of type JavaClass Constructor Description DescendingVisitor(JavaClass clazz, Visitor visitor)Constructs a DescendingVisitor. -
Uses of JavaClass in org.apache.bcel.generic
Methods in org.apache.bcel.generic that return JavaClass Modifier and Type Method Description JavaClassClassGen. getJavaClass()Gets the (finally) built up Java class object.Constructors in org.apache.bcel.generic with parameters of type JavaClass Constructor Description ClassGen(JavaClass clazz)Constructs a new instance from an 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. vecDeprecated.(since 6.0) will be made private; do not accessprotected java.util.List<JavaClass>ClassVector. vecDeprecated.Will be made private; do not access directly, use getter/setter.Methods in org.apache.bcel.util that return JavaClass Modifier and Type Method Description protected JavaClassClassLoader. createClass(java.lang.String className)Deprecated.Override this method to create you own classes on the fly.JavaClassClassQueue. dequeue()Removes and returns the first JavaClass from the queue.JavaClassClassVector. elementAt(int index)Deprecated.Gets the JavaClass at the specified index.JavaClassClassLoaderRepository. findClass(java.lang.String className)Find an already defined JavaClass.JavaClassClassPathRepository. findClass(java.lang.String className)Finds an already defined (cached) JavaClass object by name.JavaClassLruCacheClassPathRepository. findClass(java.lang.String className)JavaClassMemorySensitiveClassPathRepository. findClass(java.lang.String className)Find an already defined (cached) JavaClass object by name.JavaClassRepository. findClass(java.lang.String className)Finds the class with the name provided, if the class isn't there, return NULL.JavaClassClassLoaderRepository. loadClass(java.lang.Class<?> clazz)JavaClassClassLoaderRepository. loadClass(java.lang.String className)Lookup a JavaClass object from the Class Name provided.JavaClassRepository. loadClass(java.lang.Class<?> clazz)Finds the JavaClass instance for the given run-time class object.JavaClassRepository. 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 JavaClassClassLoader. modifyClass(JavaClass clazz)Deprecated.Override this method if you want to alter a class before it gets actually loaded.JavaClassClassStack. pop()Pops a JavaClass from the stack.JavaClass[]ClassSet. toArray()Converts the set to an array.JavaClass[]ClassVector. toArray()Deprecated.Converts the vector to an array.JavaClassClassStack. top()Gets the top JavaClass from the stack without removing it.Methods in org.apache.bcel.util with parameters of type JavaClass Modifier and Type Method Description booleanClassSet. add(JavaClass clazz)Adds a JavaClass to the set.voidClassVector. addElement(JavaClass clazz)Deprecated.Adds a JavaClass to the vector.voidClassQueue. enqueue(JavaClass clazz)Adds 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.voidClassStack. push(JavaClass clazz)Pushes a JavaClass onto the stack.voidClassSet. remove(JavaClass clazz)Removes 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 JavaClass Constructor Description BCELifier(JavaClass clazz, java.io.OutputStream out)Constructs a new instance.Class2HTML(JavaClass javaClass, java.lang.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 Modifier and Type Method Description voidStringRepresentation. visitJavaClass(JavaClass obj)
-