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

Uses in package org.apache.bcel

Methods with parameter type org.apache.bcel.classfile.JavaClass

JavaClass
Add clazz to repository if there isn't an equally named class already in there.
JavaClass[]
JavaClass[]
boolean
Repository.implementationOf(String clazz, JavaClass inter)
boolean
Repository.implementationOf(JavaClass clazz, String inter)
boolean
boolean
Repository.instanceOf(String clazz, JavaClass super_class)
boolean
Repository.instanceOf(JavaClass clazz, String super_class)
boolean
Equivalent to runtime "instanceof" operator.
void
Remove given class from repository.

Methods with return type org.apache.bcel.classfile.JavaClass

JavaClass
Add clazz to repository if there isn't an equally named class already in there.
JavaClass[]
Repository.getInterfaces(String class_name)
JavaClass[]
JavaClass[]
Repository.getSuperClasses(String class_name)
JavaClass[]
JavaClass
Repository.lookupClass(Class clazz)
Try to find class source via getResourceAsStream().
JavaClass
Repository.lookupClass(String class_name)
Lookup class somewhere found on your CLASSPATH, or whereever the repository instance looks for it.

Uses in package org.apache.bcel.generic

Constructors with parameter type org.apache.bcel.classfile.JavaClass

Initialize with existing class.

Methods with return type org.apache.bcel.classfile.JavaClass

JavaClass

Uses in package org.apache.bcel.classfile

Constructors with parameter type org.apache.bcel.classfile.JavaClass

Methods with parameter type org.apache.bcel.classfile.JavaClass

boolean
boolean
Equivalent to runtime "instanceof" operator.
void
void
void

Methods with return type org.apache.bcel.classfile.JavaClass

JavaClass
JavaClass[]
Get all interfaces implemented by this JavaClass (transitively).
JavaClass[]
Get interfaces directly implemented by this JavaClass.
JavaClass
JavaClass[]
JavaClass
Parse the given Java class file and return an object that represents the contained data, i.e., constants, methods, fields and commands.

Uses in package org.apache.bcel.util

Constructors with parameter type org.apache.bcel.classfile.JavaClass

BCELifier.BCELifier(JavaClass clazz, OutputStream out)
Class2HTML.Class2HTML(JavaClass java_class, String dir)
Write contents of the given JavaClass into HTML files.

Methods with parameter type org.apache.bcel.classfile.JavaClass

boolean
void
void
JavaClass
Override this method if you want to alter a class before it gets actually loaded.
void
void
void
Remove class from repository
void
Remove class from repository
void
Remove class from repository
void
Store a new JavaClass into this Repository.
void
Store the provided class under "clazz.getClassName()"
void
Store a new JavaClass instance into this Repository.
void

Methods with return type org.apache.bcel.classfile.JavaClass

JavaClass
ClassLoader.createClass(String class_name)
Override this method to create you own classes on the fly.
JavaClass
JavaClass
JavaClass
ClassLoaderRepository.findClass(String className)
Find an already defined JavaClass.
JavaClass
Repository.findClass(String className)
Find the class with the name provided, if the class isn't there, return NULL.
JavaClass
SyntheticRepository.findClass(String className)
Find an already defined (cached) JavaClass object by name.
JavaClass
JavaClass
Repository.loadClass(Class clazz)
Find the JavaClass instance for the given run-time class object
JavaClass
Try to find class source via getResourceAsStream().
JavaClass
ClassLoaderRepository.loadClass(String className)
Lookup a JavaClass object from the Class Name provided.
JavaClass
Repository.loadClass(String className)
Find the class with the name provided, if the class isn't there, make an attempt to load it.
JavaClass
SyntheticRepository.loadClass(String className)
Load a JavaClass object for the given class name using the CLASSPATH environment variable.
JavaClass
Override this method if you want to alter a class before it gets actually loaded.
JavaClass
JavaClass[]
JavaClass[]
JavaClass

Uses in package org.apache.bcel.verifier.statics

Methods with parameter type org.apache.bcel.classfile.JavaClass

void