Index

A B C D F G I L M N O P R S 
All Classes and Interfaces|All Packages

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.
ArrayWithoutPackagePattern - Static variable in class org.plumelib.reflection.SignatureRegexes
An anchored pattern that matches ArrayWithoutPackage strings.
ArrayWithoutPackageRegex - Static variable in class org.plumelib.reflection.SignatureRegexes
An anchored regex that matches ArrayWithoutPackage strings.

B

BinaryNameOrPrimitiveTypePattern - Static variable in class org.plumelib.reflection.SignatureRegexes
An anchored pattern that matches BinaryNameOrPrimitiveType strings.
BinaryNameOrPrimitiveTypeRegex - Static variable in class org.plumelib.reflection.SignatureRegexes
An anchored regex that matches BinaryNameOrPrimitiveType strings.
BinaryNamePattern - Static variable in class org.plumelib.reflection.SignatureRegexes
An anchored pattern that matches BinaryName strings.
BinaryNameRegex - Static variable in class org.plumelib.reflection.SignatureRegexes
An anchored regex that matches BinaryName strings.
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.
BinaryNameWithoutPackagePattern - Static variable in class org.plumelib.reflection.SignatureRegexes
An anchored pattern that matches BinaryNameWithoutPackage strings.
BinaryNameWithoutPackageRegex - Static variable in class org.plumelib.reflection.SignatureRegexes
An anchored regex that matches BinaryNameWithoutPackage strings.

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.SignatureRegexes
An anchored pattern that matches ClassGetName strings.
ClassGetNameRegex - Static variable in class org.plumelib.reflection.SignatureRegexes
An anchored regex that matches ClassGetName strings.
classGetNameToBinaryName(String) - Static method in class org.plumelib.reflection.Signatures
Convert a name in Class.getName format to a binary name.
ClassGetSimpleNamePattern - Static variable in class org.plumelib.reflection.SignatureRegexes
An anchored pattern that matches ClassGetSimpleName strings.
ClassGetSimpleNameRegex - Static variable in class org.plumelib.reflection.SignatureRegexes
An anchored regex that matches ClassGetSimpleName strings.
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.
dimensions - Variable in class org.plumelib.reflection.Signatures.ClassnameAndDimensions
The number of array dimensions.
DotSeparatedIdentifiersOrPrimitiveTypePattern - Static variable in class org.plumelib.reflection.SignatureRegexes
An anchored pattern that matches DotSeparatedIdentifiersOrPrimitiveType strings.
DotSeparatedIdentifiersOrPrimitiveTypeRegex - Static variable in class org.plumelib.reflection.SignatureRegexes
An anchored regex that matches DotSeparatedIdentifiersOrPrimitiveType strings.
DotSeparatedIdentifiersPattern - Static variable in class org.plumelib.reflection.SignatureRegexes
An anchored pattern that matches DotSeparatedIdentifiers strings.
DotSeparatedIdentifiersRegex - Static variable in class org.plumelib.reflection.SignatureRegexes
An anchored regex that matches DotSeparatedIdentifiers strings.

F

FieldDescriptorForPrimitivePattern - Static variable in class org.plumelib.reflection.SignatureRegexes
An anchored pattern that matches FieldDescriptorForPrimitive strings.
FieldDescriptorForPrimitiveRegex - Static variable in class org.plumelib.reflection.SignatureRegexes
An anchored regex that matches FieldDescriptorForPrimitive strings.
FieldDescriptorPattern - Static variable in class org.plumelib.reflection.SignatureRegexes
An anchored pattern that matches FieldDescriptor strings.
FieldDescriptorRegex - Static variable in class org.plumelib.reflection.SignatureRegexes
An anchored regex that matches FieldDescriptor strings.
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().
fieldDescriptorToFullyQualified(String) - Static method in class org.plumelib.reflection.Signatures
Convert a field descriptor to a fully-qualified name.
FieldDescriptorWithoutPackagePattern - Static variable in class org.plumelib.reflection.SignatureRegexes
An anchored pattern that matches FieldDescriptorWithoutPackage strings.
FieldDescriptorWithoutPackageRegex - Static variable in class org.plumelib.reflection.SignatureRegexes
An anchored regex that matches FieldDescriptorWithoutPackage strings.
FqBinaryNamePattern - Static variable in class org.plumelib.reflection.SignatureRegexes
An anchored pattern that matches FqBinaryName strings.
FqBinaryNameRegex - Static variable in class org.plumelib.reflection.SignatureRegexes
An anchored regex that matches FqBinaryName strings.
FullyQualifiedNamePattern - Static variable in class org.plumelib.reflection.SignatureRegexes
An anchored pattern that matches FullyQualifiedName strings.
FullyQualifiedNameRegex - Static variable in class org.plumelib.reflection.SignatureRegexes
An anchored regex that matches FullyQualifiedName strings.
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

IDENTIFIER_OR_PRIMITIVE_TYPE - Static variable in class org.plumelib.reflection.SignatureRegexes
An anchored regex that matches Identifier strings.
IdentifierOrPrimitiveTypePattern - Static variable in class org.plumelib.reflection.SignatureRegexes
An anchored pattern that matches IdentifierOrPrimitiveType strings.
IdentifierOrPrimitiveTypeRegex - Static variable in class org.plumelib.reflection.SignatureRegexes
An anchored regex that matches IdentifierOrPrimitiveType strings.
IdentifierPattern - Static variable in class org.plumelib.reflection.SignatureRegexes
An anchored pattern that matches Identifier strings.
IdentifierRegex - Static variable in class org.plumelib.reflection.SignatureRegexes
An anchored regex that matches Identifier strings.
INTERNAL_FORM - Static variable in class org.plumelib.reflection.SignatureRegexes
A regex that matches InternalForm strings.
InternalFormPattern - Static variable in class org.plumelib.reflection.SignatureRegexes
An anchored pattern that matches InternalForm strings.
InternalFormRegex - Static variable in class org.plumelib.reflection.SignatureRegexes
An anchored regex that matches InternalForm strings.
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.
isArrayWithoutPackage(String) - Static method in class org.plumelib.reflection.Signatures
Returns true if the argument has the format of an ArrayWithoutPackage.
isBinaryName(String) - Static method in class org.plumelib.reflection.Signatures
Returns true if the argument has the format of a BinaryName.
isBinaryNameOrPrimitiveType(String) - Static method in class org.plumelib.reflection.Signatures
Returns true if the argument has the format of a BinaryNameOrPrimitiveType.
isBinaryNameWithoutPackage(String) - Static method in class org.plumelib.reflection.Signatures
Returns true if the argument has the format of a BinaryNameWithoutPackage.
isClassGetName(String) - Static method in class org.plumelib.reflection.Signatures
Returns true if the argument has the format of a ClassGetName.
isClassGetSimpleName(String) - Static method in class org.plumelib.reflection.Signatures
Returns true if the argument has the format of a ClassGetSimpleName.
isDotSeparatedIdentifiers(String) - Static method in class org.plumelib.reflection.Signatures
Returns true if the argument has the format of a DotSeparatedIdentifiers.
isDotSeparatedIdentifiersOrPrimitiveType(String) - Static method in class org.plumelib.reflection.Signatures
Returns true if the argument has the format of a DotSeparatedIdentifiersOrPrimitiveType.
isFieldDescriptor(String) - Static method in class org.plumelib.reflection.Signatures
Returns true if the argument has the format of a FieldDescriptor.
isFieldDescriptorForPrimitive(String) - Static method in class org.plumelib.reflection.Signatures
Returns true if the argument has the format of a FieldDescriptorForPrimitive.
isFieldDescriptorWithoutPackage(String) - Static method in class org.plumelib.reflection.Signatures
Returns true if the argument has the format of a FieldDescriptorWithoutPackage.
isFqBinaryName(String) - Static method in class org.plumelib.reflection.Signatures
Returns true if the argument has the format of a FqBinaryName.
isFullyQualifiedName(String) - Static method in class org.plumelib.reflection.Signatures
Returns true if the argument has the format of a FullyQualifiedName.
isIdentifier(String) - Static method in class org.plumelib.reflection.Signatures
Returns true if the argument has the format of a Identifier.
isIdentifierOrPrimitiveType(String) - Static method in class org.plumelib.reflection.Signatures
Returns true if the argument has the format of a IdentifierOrPrimitiveType.
isInternalForm(String) - Static method in class org.plumelib.reflection.Signatures
Returns true if the argument has the format of a InternalForm.
isPrimitiveType(String) - Static method in class org.plumelib.reflection.Signatures
Returns true if the argument has the format of a PrimitiveType.
isSubtype(Class<?>, Class<?>) - Static method in class org.plumelib.reflection.ReflectionPlume
Return true iff sub is a subtype of sup.

L

leastUpperBound(Object[]) - Static method in class org.plumelib.reflection.ReflectionPlume
Returns the least upper bound of the classes of the given objects.
leastUpperBound(Class<T>[]) - Static method in class org.plumelib.reflection.ReflectionPlume
Returns the least upper bound of all the given classes.
leastUpperBound(Class<T>, Class<T>) - Static method in class org.plumelib.reflection.ReflectionPlume
Returns the least upper bound of the given classes.
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

methodDescriptorToReturnType(String) - Static method in class org.plumelib.reflection.Signatures
Returns the return type of the given method descriptor, or null if the method is void.
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.
methodForName(String) - Static method in class org.plumelib.reflection.ReflectionPlume
Given a method signature, return the method.

N

nameWithoutPackage(Class<?>) - Static method in class org.plumelib.reflection.ReflectionPlume
Returns the class name, including outer classes but without the package.

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.
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.).
PrimitiveTypePattern - Static variable in class org.plumelib.reflection.SignatureRegexes
An anchored pattern that matches PrimitiveType strings.
PrimitiveTypeRegex - Static variable in class org.plumelib.reflection.SignatureRegexes
An anchored regex that matches PrimitiveType strings.

R

ReflectionPlume - Class in org.plumelib.reflection
Utility functions related to reflection, Class, Method, ClassLoader, and classpath.

S

setFinalField(Object, String, Object) - Static method in class org.plumelib.reflection.ReflectionPlume
Sets the given field, which may be final and/or private.
SignatureRegexes - Class in org.plumelib.reflection
This class defines regular expressions for types supported by the Signature String Checker.
Signatures - Class in org.plumelib.reflection
Signatures.ClassnameAndDimensions - Class in org.plumelib.reflection
A representation of an array: A pair of class name (a binary name or primitive) and the number of array dimensions.
splitJavaArglist(String) - Static method in class org.plumelib.reflection.Signatures
Split a fully-qualified argument list from Java format into an array of Java-format types.
splitJvmArglist(String) - Static method in class org.plumelib.reflection.Signatures
Split an argument list from JVML format into an array of JVML format types.
A B C D F G I L M N O P R S 
All Classes and Interfaces|All Packages