Skip navigation links
A B C D F G I L M O P R S T 

A

addToClasspath(String) - Static method in class org.plumelib.reflection.ReflectionPlume
Add the directory to the system classpath.
arglistFromJvm(String) - Static method in class org.plumelib.reflection.Signatures
Convert an argument list from JVML format to Java format.
arglistToJvm(String) - Static method in class org.plumelib.reflection.Signatures
Convert a fully-qualified argument list from Java format to JVML format.
args_seen - Static variable in class org.plumelib.reflection.ReflectionPlume
Maps from a comma-delimited string of arg types, such as appears in a method signature, to an array of Class objects, one for each arg type.

B

binaryNameToClassGetName(String) - Static method in class org.plumelib.reflection.Signatures
Convert from a BinaryName to the format of Class.getName().
binaryNameToFieldDescriptor(String) - Static method in class org.plumelib.reflection.Signatures
Convert a binary name to a field descriptor.

C

classForName(String) - Static method in class org.plumelib.reflection.ReflectionPlume
Like Class.forName(String), but also works when the string represents a primitive type or a fully-qualified name (as opposed to a binary name).

D

defineClassFromFile(String, String) - Static method in class org.plumelib.reflection.ReflectionPlume
Converts the bytes in a file into an instance of class Class, and resolves (links) the class.
defineClassFromFile(String, String) - Method in class org.plumelib.reflection.ReflectionPlume.PromiscuousLoader
Converts the bytes in a file into an instance of class Class, and also resolves (links) the class.

F

fieldDescriptorToBinaryName(String) - Static method in class org.plumelib.reflection.Signatures
Convert a field descriptor to a binary name.
fieldDescriptorToClassGetName(String) - Static method in class org.plumelib.reflection.Signatures
Convert from a FieldDescriptor to the format of Class.getName().
fieldDescriptorToPrimitive - Static variable in class org.plumelib.reflection.Signatures
Map from field descriptor (sach as "I") to primitive type (such as "int").
fullyQualifiedNameToSimpleName(String) - Static method in class org.plumelib.reflection.ReflectionPlume
Returns the simple unqualified class name that corresponds to the specified fully qualified name.

G

getPrivateField(Object, String) - Static method in class org.plumelib.reflection.ReflectionPlume
Reads the given field, which may be private.

I

isSubtype(Class<?>, Class<?>) - Static method in class org.plumelib.reflection.ReflectionPlume
Return true iff sub is a subtype of sup.

L

leastUpperBound(Class<T>, Class<T>) - Static method in class org.plumelib.reflection.ReflectionPlume
Returns the least upper bound of the given classes.
leastUpperBound(Class<T>[]) - Static method in class org.plumelib.reflection.ReflectionPlume
Returns the least upper bound of all the given classes.
leastUpperBound(Object[]) - Static method in class org.plumelib.reflection.ReflectionPlume
Returns the least upper bound of the classes of the given objects.
leastUpperBound(List<? extends Object>) - Static method in class org.plumelib.reflection.ReflectionPlume
Returns the least upper bound of the classes of the given objects.

M

methodForName(String) - Static method in class org.plumelib.reflection.ReflectionPlume
Given a method signature, return the method.
methodForName(String, String, Class<?>[]) - Static method in class org.plumelib.reflection.ReflectionPlume
Given a class name and a method name in that class, return the method.

O

org.plumelib.reflection - package org.plumelib.reflection
Utility libraries related to Java reflection.

P

primitiveClasses - Static variable in class org.plumelib.reflection.ReflectionPlume
primitiveToFieldDescriptor - Static variable in class org.plumelib.reflection.Signatures
Map from primitive type (such as "int") to field descriptor (such as "I").
primitiveTypeNameToFieldDescriptor(String) - Static method in class org.plumelib.reflection.Signatures
Convert a primitive Java type name (e.g., "int", "double", etc.) to a field descriptor (e.g., "I", "D", etc.).
PromiscuousLoader() - Constructor for class org.plumelib.reflection.ReflectionPlume.PromiscuousLoader
 

R

ReflectionPlume - Class in org.plumelib.reflection
Utility functions related to reflection, Class, Method, ClassLoader, and classpath.
ReflectionPlume() - Constructor for class org.plumelib.reflection.ReflectionPlume
This class is a collection of methods; it does not represent anything.
ReflectionPlume.PromiscuousLoader - Class in org.plumelib.reflection
This static nested class has no purpose but to define defineClassFromFile.

S

setFinalField(Object, String, Object) - Static method in class org.plumelib.reflection.ReflectionPlume
Sets the given field, which may be final and/or private.
Signatures - Class in org.plumelib.reflection
Conversion utilities between Java and JVM string formats, for types and signatures.
Signatures() - Constructor for class org.plumelib.reflection.Signatures
 

T

thePromiscuousLoader - Static variable in class org.plumelib.reflection.ReflectionPlume
A ClassLoader that can call defineClassFromFile.
A B C D F G I L M O P R S T 
Skip navigation links