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

A

addPackage(String, String) - Static method in class org.plumelib.reflection.Signatures
Given a package name and a class name, combine them to form a qualified class name.
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.
arrayBracketsPattern - Static variable in class org.plumelib.reflection.Signatures
Matches the "[][][]" at the end of a Java array type.

B

binaryNamePattern - Static variable in class org.plumelib.reflection.Signatures
A regular expression for the BinaryName string format.
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.
binaryNameToFullyQualified(String) - Static method in class org.plumelib.reflection.Signatures
Converts a binary name to a fully-qualified name.

C

classfilenameToBaseName(String) - Static method in class org.plumelib.reflection.Signatures
Given a filename ending with ".class", return the simple (unqualified) binary name of the class.
classfilenameToBinaryName(String) - Static method in class org.plumelib.reflection.Signatures
Given a filename ending with ".class", return the binary name of the class.
classForName(String) - Static method in class org.plumelib.reflection.ReflectionPlume
Like Class.forName(String): given a string representing a non-array class, returns the Class.
classGetNamePattern - Static variable in class org.plumelib.reflection.Signatures
A regular expression for the ClassGetName string format.
classname - Variable in class org.plumelib.reflection.Signatures.ClassnameAndDimensions
The class name.
ClassnameAndDimensions(String, int) - Constructor for class org.plumelib.reflection.Signatures.ClassnameAndDimensions
Create a new ClassnameAndDimensions.
classpathToString() - Static method in class org.plumelib.reflection.ReflectionPlume
Returns the classpath as a multi-line string.

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.
dimensions - Variable in class org.plumelib.reflection.Signatures.ClassnameAndDimensions
The number of array dimensions.
dirSep - Static variable in class org.plumelib.reflection.Signatures
The file-system-specific directory separator.
dotSeparatedIdentifiersPattern - Static variable in class org.plumelib.reflection.Signatures
A regular expression for the DotSeparatedIdentifiers string format.

F

fdArrayBracketsPattern - Static variable in class org.plumelib.reflection.Signatures
Matches the "[[[" prefix of a field descriptor for an array.
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
A map from field descriptor (sach as "I") to Java primitive type (such as "int").
fqBinaryNamePattern - Static variable in class org.plumelib.reflection.Signatures
A regular expression for the FqBinaryName string format.
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

getArrayElementType(String) - Static method in class org.plumelib.reflection.Signatures
Returns the element type for the given type name, which results from removing all the array brackets.
getPrivateField(Object, String) - Static method in class org.plumelib.reflection.ReflectionPlume
Reads the given field, which may be private.

I

internalFormToBinaryName(String) - Static method in class org.plumelib.reflection.Signatures
Given a class name in internal form, return it in as a binary name.
internalFormToClassGetName(String) - Static method in class org.plumelib.reflection.Signatures
Given a class name in internal form, return it in ClassGetName form.
internalFormToFullyQualified(String) - Static method in class org.plumelib.reflection.Signatures
Given a class name in internal form, return it in as a fully-qualified name.
isBinaryName(String) - Static method in class org.plumelib.reflection.Signatures
Returns true if the argument has the format of a BinaryName.
isClassGetName(String) - Static method in class org.plumelib.reflection.Signatures
Returns true if the argument has the format of a ClassGetName.
isDotSeparatedIdentifiers(String) - Static method in class org.plumelib.reflection.Signatures
Returns true if the argument has the format of a DotSeparatedIdentifiers.
isFqBinaryName(String) - Static method in class org.plumelib.reflection.Signatures
Returns true if the argument has the format of a FqBinaryName.
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

parseFqBinaryName(String) - Static method in class org.plumelib.reflection.Signatures.ClassnameAndDimensions
Constructs a new ClassnameAndDimensions by parsing a fully-qualified binary name.
primitiveClasses - Static variable in class org.plumelib.reflection.ReflectionPlume
primitiveToFieldDescriptor - Static variable in class org.plumelib.reflection.Signatures
A map from Java primitive type name (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
 
Signatures.ClassnameAndDimensions - Class in org.plumelib.reflection
A representation of an array: A pair of class name and the number of array dimensions.

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