|
|||||||||
| Home >> All >> java >> lang >> [ reflect overview ] | PREV NEXT | ||||||||
A
- AALOAD - Static variable in class java.lang.reflect.Proxy.ClassFactory
- AASTORE - Static variable in class java.lang.reflect.Proxy.ClassFactory
- ABSTRACT - Static variable in class java.lang.reflect.Modifier
- Abstract:
Class: may not be instantiated. Method: may not be called. - ACONST_NULL - Static variable in class java.lang.reflect.Proxy.ClassFactory
- Bytecodes for insertion in the class definition byte[]
- ALL_FLAGS - Static variable in class java.lang.reflect.Modifier
- All the flags, only used by code in this package.
- ALOAD_0 - Static variable in class java.lang.reflect.Proxy.ClassFactory
- ALOAD_1 - Static variable in class java.lang.reflect.Proxy.ClassFactory
- ANEWARRAY - Static variable in class java.lang.reflect.Proxy.ClassFactory
- ARETURN - Static variable in class java.lang.reflect.Proxy.ClassFactory
- ATHROW - Static variable in class java.lang.reflect.Proxy.ClassFactory
- AccessibleObject - class java.lang.reflect.AccessibleObject.
- This class is the superclass of various reflection classes, and allows sufficiently trusted code to bypass normal restrictions to do necessary things like invoke private methods outside of the class during Serialization.
- AccessibleObject() - Constructor for class java.lang.reflect.AccessibleObject
- Only the three reflection classes that extend this can create an accessible object.
- AnnotatedElement - interface java.lang.reflect.AnnotatedElement.
- Represents an element that can be annotated.
- Array - class java.lang.reflect.Array.
- Array holds static helper functions that allow you to create and manipulate arrays by reflection.
- Array() - Constructor for class java.lang.reflect.Array
- This class is uninstantiable.
- addTypeParameters(StringBuilder, TypeVariable[]) - Static method in class java.lang.reflect.Constructor
B
- BIPUSH - Static variable in class java.lang.reflect.Proxy.ClassFactory
- BRIDGE - Static variable in class java.lang.reflect.Modifier
- Flag indicating a bridge method.
C
- CHECKCAST - Static variable in class java.lang.reflect.Proxy.ClassFactory
- CONSTRUCTOR_MODIFIERS - Static variable in class java.lang.reflect.Constructor
- CTOR_SIG - Static variable in class java.lang.reflect.Proxy.ClassFactory
- Constructor - class java.lang.reflect.Constructor.
- The Constructor class represents a constructor of a class.
- Constructor(Class, int) - Constructor for class java.lang.reflect.Constructor
- This class is uninstantiable except from native code.
- Constructor() - Constructor for class java.lang.reflect.Constructor
- checkCompatibility(Proxy.ProxySignature) - Method in class java.lang.reflect.Proxy.ProxySignature
- Given a method, make sure it's return type is identical to this, and adjust this signature's throws clause appropriately
- checkPermission() - Static method in class java.lang.reflect.AccessibleObject
- Performs the specified security check, for
ReflectPermission("suppressAccessChecks"). - classInfo(String) - Method in class java.lang.reflect.Proxy.ClassFactory
- Returns the entry of the appropriate class info structure in the Constant pool, adding it if necessary.
- classInfo(Class) - Method in class java.lang.reflect.Proxy.ClassFactory
- Returns the entry of the appropriate class info structure in the Constant pool, adding it if necessary.
- clazz - Variable in class java.lang.reflect.Constructor
- constructNative(Object[], Class, int) - Method in class java.lang.reflect.Constructor
- coreMethods - Static variable in class java.lang.reflect.Proxy.ProxySignature
- The core signatures which all Proxy instances handle.
- count - Static variable in class java.lang.reflect.Proxy.ProxyData
- For unique id's
- createMultiArray(Class, int[], int) - Static method in class java.lang.reflect.Array
- Dynamically and recursively create a multi-dimensioned array of objects.
- createObjectArray(Class, int) - Static method in class java.lang.reflect.VMArray
- Dynamically create an array of objects.
D
- DECLARED - Static variable in interface java.lang.reflect.Member
- Represents all members, whether public, private, protected or package-protected, but only which are declared in this class.
- DRETURN - Static variable in class java.lang.reflect.Proxy.ClassFactory
- DUP - Static variable in class java.lang.reflect.Proxy.ClassFactory
- DUP_X1 - Static variable in class java.lang.reflect.Proxy.ClassFactory
- declaringClass - Variable in class java.lang.reflect.Field
- declaringClass - Variable in class java.lang.reflect.Method
E
- ENUM - Static variable in class java.lang.reflect.Modifier
- Flag indicating an enum constant or an enum class.
- emitMethod(int, Class[]) - Method in class java.lang.reflect.Proxy.ClassFactory
- Produce the bytecode for a single method.
- equals(Object) - Method in class java.lang.reflect.Constructor
- Compare two objects to see if they are semantically equivalent.
- equals(Object) - Method in class java.lang.reflect.Field
- Compare two objects to see if they are semantically equivalent.
- equals(Object) - Method in class java.lang.reflect.Method
- Compare two objects to see if they are semantically equivalent.
- equals(Object) - Method in class java.lang.reflect.Proxy.ProxySignature
- Calculates equality.
- equals(Object) - Method in class java.lang.reflect.Proxy.ProxyType
- Calculates equality.
- exceptions - Variable in class java.lang.reflect.Proxy.ProxyData
- The exceptions that do not need to be wrapped in UndeclaredThrowableException.
- exceptions - Variable in class java.lang.reflect.Proxy.ProxySignature
- The set of compatible thrown exceptions, may be empty
F
- FIELD - Static variable in class java.lang.reflect.Proxy.ClassFactory
- Constants for assisting the compilation
- FIELD_MODIFIERS - Static variable in class java.lang.reflect.Field
- FINAL - Static variable in class java.lang.reflect.Modifier
- Final:
Class: no subclasses allowed. Field: cannot be changed. Method: cannot be overriden. - FRETURN - Static variable in class java.lang.reflect.Proxy.ClassFactory
- Field - class java.lang.reflect.Field.
- The Field class represents a member variable of a class.
- Field(Class, String, int) - Constructor for class java.lang.reflect.Field
- This class is uninstantiable except natively.
- flag - Variable in class java.lang.reflect.AccessibleObject
- True if this object is marked accessible, which means the reflected object bypasses normal security checks.
G
- GETFIELD - Static variable in class java.lang.reflect.Proxy.ClassFactory
- GETSTATIC - Static variable in class java.lang.reflect.Proxy.ClassFactory
- GenericArrayType - interface java.lang.reflect.GenericArrayType.
- Represents the type of an array's components, which may be either a parameterized type or a type variable.
- GenericDeclaration - interface java.lang.reflect.GenericDeclaration.
- Represents an entity that declares one or more type parameters.
- GenericSignatureFormatError - error java.lang.reflect.GenericSignatureFormatError.
- Thrown on encountering a syntactically malformed signature in a reflective method.
- GenericSignatureFormatError() - Constructor for class java.lang.reflect.GenericSignatureFormatError
- Constructs a new
GenericSignatureFormatError. - generate(ClassLoader) - Method in class java.lang.reflect.Proxy.ClassFactory
- Creates the Class object that corresponds to the bytecode buffers built when this object was constructed.
- generateProxyClass(ClassLoader, Proxy.ProxyData) - Static method in class java.lang.reflect.VMProxy
- Optional native method to replace (and speed up) the pure Java implementation of generateProxyClass.
- get(Object, int) - Static method in class java.lang.reflect.Array
- Gets an element of an array.
- get(Object) - Method in class java.lang.reflect.Field
- Get the value of this Field.
- getActualTypeArguments() - Method in interface java.lang.reflect.ParameterizedType
-
Returns an array of
Typeobjects, which gives the parameters of this type. - getAnnotation(Class) - Method in class java.lang.reflect.AccessibleObject
- getAnnotation(Class) - Method in interface java.lang.reflect.AnnotatedElement
- Returns the element's annotation for the specified annotation type,
or
nullif no such annotation exists. - getAnnotations() - Method in class java.lang.reflect.AccessibleObject
- getAnnotations() - Method in interface java.lang.reflect.AnnotatedElement
- Returns all annotations associated with the element.
- getBoolean(Object, int) - Static method in class java.lang.reflect.Array
- Gets an element of a boolean array.
- getBoolean(Object) - Method in class java.lang.reflect.Field
- Get the value of this boolean Field.
- getBounds() - Method in interface java.lang.reflect.TypeVariable
- Returns an array of
Typeobjects which represent the upper bounds of this type variable. - getByte(Object, int) - Static method in class java.lang.reflect.Array
- Gets an element of a byte array.
- getByte(Object) - Method in class java.lang.reflect.Field
- Get the value of this byte Field.
- getCause() - Method in class java.lang.reflect.InvocationTargetException
- Returns the cause of this exception (which may be null).
- getCause() - Method in class java.lang.reflect.UndeclaredThrowableException
- Returns the cause of this exception.
- getChar(Object, int) - Static method in class java.lang.reflect.Array
- Gets an element of a char array.
- getChar(Object) - Method in class java.lang.reflect.Field
- Get the value of this Field as a char.
- getDeclaredAnnotations() - Method in class java.lang.reflect.AccessibleObject
- getDeclaredAnnotations() - Method in interface java.lang.reflect.AnnotatedElement
- Returns all annotations directly defined by the element.
- getDeclaringClass() - Method in class java.lang.reflect.Constructor
- Gets the class that declared this constructor.
- getDeclaringClass() - Method in class java.lang.reflect.Field
- Gets the class that declared this field, or the class where this field is a non-inherited member.
- getDeclaringClass() - Method in interface java.lang.reflect.Member
- Gets the class that declared this member.
- getDeclaringClass() - Method in class java.lang.reflect.Method
- Gets the class that declared this method, or the class where this method is a non-inherited member.
- getDouble(Object, int) - Static method in class java.lang.reflect.Array
- Gets an element of a double array.
- getDouble(Object) - Method in class java.lang.reflect.Field
- Get the value of this Field as a double.
- getExceptionTypes() - Method in class java.lang.reflect.Constructor
- Get the exception types this constructor says it throws, in no particular order.
- getExceptionTypes() - Method in class java.lang.reflect.Method
- Get the exception types this method says it throws, in no particular order.
- getFloat(Object, int) - Static method in class java.lang.reflect.Array
- Gets an element of a float array.
- getFloat(Object) - Method in class java.lang.reflect.Field
- Get the value of this Field as a float.
- getGenericComponentType() - Method in interface java.lang.reflect.GenericArrayType
- Returns the
Typeof the components within the array. - getGenericDeclaration() - Method in interface java.lang.reflect.TypeVariable
- Returns a representation of the declaration used to declare this type variable.
- getGenericExceptionTypes() - Method in class java.lang.reflect.Constructor
- Returns an array of
Typeobjects that represents the exception types declared by this constructor, in declaration order. - getGenericExceptionTypes() - Method in class java.lang.reflect.Method
- Returns an array of
Typeobjects that represents the exception types declared by this method, in declaration order. - getGenericParameterTypes() - Method in class java.lang.reflect.Constructor
- Returns an array of
Typeobjects that represents the parameter list for this constructor, in declaration order. - getGenericParameterTypes() - Method in class java.lang.reflect.Method
- Returns an array of
Typeobjects that represents the parameter list for this method, in declaration order. - getGenericReturnType() - Method in class java.lang.reflect.Method
- Returns the return type of this method.
- getGenericType() - Method in class java.lang.reflect.Field
- Return the generic type of the field.
- getInt(Object, int) - Static method in class java.lang.reflect.Array
- Gets an element of an int array.
- getInt(Object) - Method in class java.lang.reflect.Field
- Get the value of this Field as an int.
- getInvocationHandler(Object) - Static method in class java.lang.reflect.Proxy
- Returns the invocation handler for the given proxy instance.
- getLength(Object) - Static method in class java.lang.reflect.Array
- Gets the array length.
- getLong(Object, int) - Static method in class java.lang.reflect.Array
- Gets an element of a long array.
- getLong(Object) - Method in class java.lang.reflect.Field
- Get the value of this Field as a long.
- getLowerBounds() - Method in interface java.lang.reflect.WildcardType
-
Returns an array of
Types, which specify the lower bounds of this type. - getModifiers() - Method in class java.lang.reflect.Constructor
- Gets the modifiers this constructor uses.
- getModifiers() - Method in class java.lang.reflect.Field
- Gets the modifiers this field uses.
- getModifiers() - Method in interface java.lang.reflect.Member
- Gets the modifiers this member uses.
- getModifiers() - Method in class java.lang.reflect.Method
- Gets the modifiers this method uses.
- getModifiersInternal() - Method in class java.lang.reflect.Constructor
- Return the raw modifiers for this constructor.
- getModifiersInternal() - Method in class java.lang.reflect.Field
- Return the raw modifiers for this field.
- getModifiersInternal() - Method in class java.lang.reflect.Method
- Return the raw modifiers for this method.
- getName() - Method in class java.lang.reflect.Constructor
- Gets the name of this constructor (the non-qualified name of the class it was declared in).
- getName() - Method in class java.lang.reflect.Field
- Gets the name of this field.
- getName() - Method in interface java.lang.reflect.Member
- Gets the simple name of this member.
- getName() - Method in class java.lang.reflect.Method
- Gets the name of this method.
- getName() - Method in interface java.lang.reflect.TypeVariable
- Returns the name of the type variable, as written in the source code.
- getOwnerType() - Method in interface java.lang.reflect.ParameterizedType
- Returns the type of which this type is a member.
- getPackage(Class) - Static method in class java.lang.reflect.Proxy.ProxyData
- Return the name of a package (including the trailing dot) given the name of a class.
- getParameterTypes() - Method in class java.lang.reflect.Constructor
- Get the parameter list for this constructor, in declaration order.
- getParameterTypes() - Method in class java.lang.reflect.Method
- Get the parameter list for this method, in declaration order.
- getProxyClass(ClassLoader, Class[]) - Static method in class java.lang.reflect.Proxy
- Returns the proxy java.lang.Class for the given ClassLoader and array of interfaces, dynamically generating it if necessary.
- getProxyClass(ClassLoader, Class[]) - Static method in class java.lang.reflect.VMProxy
- Optional native method to replace (and speed up) the pure Java implementation of getProxyClass.
- getProxyData(Proxy.ProxyType) - Static method in class java.lang.reflect.Proxy.ProxyData
- Verifies that the arguments are legal, and sets up remaining data This should only be called when a class must be generated, as it is expensive.
- getProxyData(ClassLoader, Class[]) - Static method in class java.lang.reflect.VMProxy
- Optional native method to replace (and speed up) the pure Java implementation of getProxyData.
- getRawType() - Method in interface java.lang.reflect.ParameterizedType
- Returns a version of this type without parameters, which corresponds to the class or interface which declared the type.
- getReturnType() - Method in class java.lang.reflect.Method
- Gets the return type of this method.
- getShort(Object, int) - Static method in class java.lang.reflect.Array
- Gets an element of a short array.
- getShort(Object) - Method in class java.lang.reflect.Field
- Get the value of this Field as a short.
- getSignature() - Method in class java.lang.reflect.Constructor
- Return the String in the Signature attribute for this constructor.
- getSignature() - Method in class java.lang.reflect.Field
- Return the String in the Signature attribute for this field.
- getSignature() - Method in class java.lang.reflect.Method
- Return the String in the Signature attribute for this method.
- getTargetException() - Method in class java.lang.reflect.InvocationTargetException
- Get the wrapped (targeted) exception.
- getType() - Method in class java.lang.reflect.Field
- Gets the type of this field.
- getTypeParameters() - Method in class java.lang.reflect.Constructor
- Returns an array of
TypeVariableobjects that represents the type variables declared by this constructor, in declaration order. - getTypeParameters() - Method in interface java.lang.reflect.GenericDeclaration
- Returns a
TypeVariableobject for each type variable declared by this entity, in order of declaration. - getTypeParameters() - Method in class java.lang.reflect.Method
- Returns an array of
TypeVariableobjects that represents the type variables declared by this constructor, in declaration order. - getUndeclaredThrowable() - Method in class java.lang.reflect.UndeclaredThrowableException
- Returns the cause of this exception.
- getUpperBounds() - Method in interface java.lang.reflect.WildcardType
-
Returns an array of
Types, which specify the upper bounds of this type.
H
- HAVE_NATIVE_GENERATE_PROXY_CLASS - Static variable in class java.lang.reflect.VMProxy
- Set to true if the VM provides a native method to implement the second part of Proxy.getProxyClass: conversion of an array of methods into an actual proxy class.
- HAVE_NATIVE_GET_PROXY_CLASS - Static variable in class java.lang.reflect.VMProxy
- Set to true if the VM provides a native method to implement Proxy.getProxyClass completely, including argument verification.
- HAVE_NATIVE_GET_PROXY_DATA - Static variable in class java.lang.reflect.VMProxy
- Set to true if the VM provides a native method to implement the first part of Proxy.getProxyClass: generation of the array of methods to convert, and verification of the arguments.
- h - Variable in class java.lang.reflect.Proxy
- The invocation handler for this proxy instance.
- hashCode() - Method in class java.lang.reflect.Constructor
- Get the hash code for the Constructor.
- hashCode() - Method in class java.lang.reflect.Field
- Get the hash code for the Field.
- hashCode() - Method in class java.lang.reflect.Method
- Get the hash code for the Method.
- hashCode() - Method in class java.lang.reflect.Proxy.ProxySignature
- Calculates the hash code.
- hashCode() - Method in class java.lang.reflect.Proxy.ProxyType
- Calculates the hash code.
I
- ICONST_0 - Static variable in class java.lang.reflect.Proxy.ClassFactory
- ILOAD - Static variable in class java.lang.reflect.Proxy.ClassFactory
- ILOAD_0 - Static variable in class java.lang.reflect.Proxy.ClassFactory
- INTERFACE - Static variable in class java.lang.reflect.Modifier
- Interface: Class: is an interface.
- INTERFACE - Static variable in class java.lang.reflect.Proxy.ClassFactory
- INVOKEINTERFACE - Static variable in class java.lang.reflect.Proxy.ClassFactory
- INVOKESPECIAL - Static variable in class java.lang.reflect.Proxy.ClassFactory
- INVOKEVIRTUAL - Static variable in class java.lang.reflect.Proxy.ClassFactory
- INVOKE_SIG - Static variable in class java.lang.reflect.Proxy.ClassFactory
- IRETURN - Static variable in class java.lang.reflect.Proxy.ClassFactory
- InvocationHandler - interface java.lang.reflect.InvocationHandler.
- This interface defines an invocation handler.
- InvocationTargetException - exception java.lang.reflect.InvocationTargetException.
- InvocationTargetException is sort of a way to "wrap" whatever exception comes up when a method or constructor is called via Reflection.
- InvocationTargetException() - Constructor for class java.lang.reflect.InvocationTargetException
- Construct an exception with null as the cause.
- InvocationTargetException(Throwable) - Constructor for class java.lang.reflect.InvocationTargetException
- Create an
InvocationTargetExceptionusing another exception. - InvocationTargetException(Throwable, String) - Constructor for class java.lang.reflect.InvocationTargetException
- Create an
InvocationTargetExceptionusing another exception and an error message. - id - Variable in class java.lang.reflect.Proxy.ProxyData
- The id of this proxy class
- interfaces - Variable in class java.lang.reflect.Proxy.ProxyData
- The interfaces this class implements.
- interfaces - Variable in class java.lang.reflect.Proxy.ProxyType
- Store the interfaces (never null, all elements are interfaces)
- invoke(Object, Method, Object[]) - Method in interface java.lang.reflect.InvocationHandler
- When a method is invoked on a proxy instance, it is wrapped and this method is called instead, so that you may decide at runtime how the original method should behave.
- invoke(Object, Object[]) - Method in class java.lang.reflect.Method
- Invoke the method.
- invokeNative(Object, Object[], Class, int) - Method in class java.lang.reflect.Method
- isAbstract(int) - Static method in class java.lang.reflect.Modifier
- Check whether the given modifier is abstract.
- isAccessible() - Method in class java.lang.reflect.AccessibleObject
- Return the accessibility status of this object.
- isAnnotationPresent(Class) - Method in class java.lang.reflect.AccessibleObject
- isAnnotationPresent(Class) - Method in interface java.lang.reflect.AnnotatedElement
- Returns true if an annotation for the specified type is associated with the element.
- isBridge() - Method in class java.lang.reflect.Method
- Return true if this method is a bridge method.
- isCoreObjectMethod(Method) - Static method in class java.lang.reflect.Proxy.ProxyData
- Checks whether the method is similar to a public non-final method of Object or not (i.e.
- isEnumConstant() - Method in class java.lang.reflect.Field
- Return true if this field represents an enum constant, false otherwise.
- isFinal(int) - Static method in class java.lang.reflect.Modifier
- Check whether the given modifier is final.
- isInterface(int) - Static method in class java.lang.reflect.Modifier
- Check whether the given modifier is an interface.
- isNative(int) - Static method in class java.lang.reflect.Modifier
- Check whether the given modifier is native.
- isPrivate(int) - Static method in class java.lang.reflect.Modifier
- Check whether the given modifier is private.
- isProtected(int) - Static method in class java.lang.reflect.Modifier
- Check whether the given modifier is protected.
- isProxyClass(Class) - Static method in class java.lang.reflect.Proxy
- Returns true if and only if the Class object is a dynamically created
proxy class (created by
getProxyClassor by the syntactic sugar ofnewProxyInstance). - isPublic(int) - Static method in class java.lang.reflect.Modifier
- Check whether the given modifier is public.
- isStatic(int) - Static method in class java.lang.reflect.Modifier
- Check whether the given modifier is static.
- isStrict(int) - Static method in class java.lang.reflect.Modifier
- Check whether the given modifier is strictfp.
- isSynchronized(int) - Static method in class java.lang.reflect.Modifier
- Check whether the given modifier is synchronized.
- isSynthetic() - Method in class java.lang.reflect.Constructor
- Return true if this constructor is synthetic, false otherwise.
- isSynthetic() - Method in class java.lang.reflect.Field
- Return true if this field is synthetic, false otherwise.
- isSynthetic() - Method in interface java.lang.reflect.Member
- Return true if this member is synthetic, meaning that it was created by the compiler and does not appear in the user's source code.
- isSynthetic() - Method in class java.lang.reflect.Method
- Return true if this method is synthetic, false otherwise.
- isTransient(int) - Static method in class java.lang.reflect.Modifier
- Check whether the given modifier is transient.
- isVarArgs() - Method in class java.lang.reflect.Constructor
- Return true if this is a varargs constructor, that is if the constructor takes a variable number of arguments.
- isVarArgs() - Method in class java.lang.reflect.Method
- Return true if this is a varargs method, that is if the method takes a variable number of arguments.
- isVolatile(int) - Static method in class java.lang.reflect.Modifier
- Check whether the given modifier is volatile.
J
- java.lang.reflect - package java.lang.reflect
L
- LRETURN - Static variable in class java.lang.reflect.Proxy.ClassFactory
- loader - Variable in class java.lang.reflect.Proxy.ProxyType
- Store the class loader (may be null)
M
- METHOD - Static variable in class java.lang.reflect.Proxy.ClassFactory
- METHOD_MODIFIERS - Static variable in class java.lang.reflect.Method
- MalformedParameterizedTypeException - exception java.lang.reflect.MalformedParameterizedTypeException.
- This exception class is thrown when one of the reflection methods encountered an invalid parameterized type within the metadata of a class.
- MalformedParameterizedTypeException() - Constructor for class java.lang.reflect.MalformedParameterizedTypeException
- Member - interface java.lang.reflect.Member.
- Member is an interface that represents any member of a class (field or method) or a constructor.
- Method - class java.lang.reflect.Method.
- The Method class represents a member method of a class.
- Method(Class, String, int) - Constructor for class java.lang.reflect.Method
- This class is uninstantiable.
- Modifier - class java.lang.reflect.Modifier.
- Modifier is a helper class with static methods to determine whether an int returned from getModifiers() represents static, public, protected, native, final, etc...
- Modifier() - Constructor for class java.lang.reflect.Modifier
- This constructor really shouldn't be here ...
- method - Variable in class java.lang.reflect.Proxy.ProxySignature
- The underlying Method object, never null
- methods - Variable in class java.lang.reflect.Proxy.ClassFactory
- The Method objects the proxy class refers to when calling the invocation handler.
- methods - Variable in class java.lang.reflect.Proxy.ProxyData
- The Method objects this class must pass as the second argument to invoke (also useful for determining what methods this class has).
N
- NATIVE - Static variable in class java.lang.reflect.Modifier
- Native: Method: use JNI to call this method.
- NEW - Static variable in class java.lang.reflect.Proxy.ClassFactory
- name - Variable in class java.lang.reflect.Field
- name - Variable in class java.lang.reflect.Method
- nameAndTypeInfo(String, String) - Method in class java.lang.reflect.Proxy.ClassFactory
- Returns the entry of the appropriate nameAndTyperef info structure in the Constant pool, adding it if necessary.
- newInstance(Class, int) - Static method in class java.lang.reflect.Array
- Creates a new single-dimensioned array.
- newInstance(Class, int[]) - Static method in class java.lang.reflect.Array
- Creates a new multi-dimensioned array.
- newInstance(Object[]) - Method in class java.lang.reflect.Constructor
- Create a new instance by invoking the constructor.
- newProxyInstance(ClassLoader, Class[], InvocationHandler) - Static method in class java.lang.reflect.Proxy
- Combines several methods into one.
P
- PRIVATE - Static variable in class java.lang.reflect.Modifier
- Private: accessible only from the same enclosing class.
- PROTECTED - Static variable in class java.lang.reflect.Modifier
- Protected: accessible only to subclasses, or within the package.
- PUBLIC - Static variable in interface java.lang.reflect.Member
- Represents public members only, but includes all inherited members.
- PUBLIC - Static variable in class java.lang.reflect.Modifier
- Public: accessible from any other class.
- ParameterizedType - interface java.lang.reflect.ParameterizedType.
- Represents a type which is parameterized over one or more other types.
- Proxy - class java.lang.reflect.Proxy.
- This class allows you to dynamically create an instance of any (or even multiple) interfaces by reflection, and decide at runtime how that instance will behave by giving it an appropriate InvocationHandler.
- Proxy(InvocationHandler) - Constructor for class java.lang.reflect.Proxy
- Constructs a new Proxy from a subclass (usually a proxy class), with the specified invocation handler.
- Proxy.ClassFactory - class java.lang.reflect.Proxy.ClassFactory.
- Does all the work of building a class.
- Proxy.ClassFactory(Proxy.ProxyData) - Constructor for class java.lang.reflect.Proxy.ClassFactory
- Initializes the buffers with the bytecode contents for a proxy class.
- Proxy.ProxyData - class java.lang.reflect.Proxy.ProxyData.
- A flat representation of all data needed to generate bytecode/instantiate a proxy class.
- Proxy.ProxyData() - Constructor for class java.lang.reflect.Proxy.ProxyData
- Construct a ProxyData with uninitialized data members.
- Proxy.ProxySignature - class java.lang.reflect.Proxy.ProxySignature.
- Helper class which allows hashing of a method name and signature without worrying about return type, declaring class, or throws clause, and which reduces the maximally common throws clause between two methods
- Proxy.ProxySignature(Method) - Constructor for class java.lang.reflect.Proxy.ProxySignature
- Construct a signature
- Proxy.ProxyType - class java.lang.reflect.Proxy.ProxyType.
- Helper class for mapping unique ClassLoader and interface combinations to proxy classes.
- Proxy.ProxyType(ClassLoader, Class[]) - Constructor for class java.lang.reflect.Proxy.ProxyType
- Construct the helper object.
- pack - Variable in class java.lang.reflect.Proxy.ProxyData
- The package this class is in including the trailing dot or an empty string for the unnamed (aka default) package.
- pool - Variable in class java.lang.reflect.Proxy.ClassFactory
- The constant pool.
- poolEntries - Variable in class java.lang.reflect.Proxy.ClassFactory
- Map of strings to byte sequences, to minimize size of pool.
- poolIndex(String) - Method in class java.lang.reflect.Proxy.ClassFactory
- Returns the location of a byte sequence (conveniently wrapped in a String with all characters between and ÿ inclusive) in the constant pool, adding it if necessary.
- proxyClasses - Static variable in class java.lang.reflect.Proxy
- Map of ProxyType to proxy class.
- putConst(int) - Method in class java.lang.reflect.Proxy.ClassFactory
- Put bytecode to load a constant integer on the stream.
- putLoad(int, Class) - Method in class java.lang.reflect.Proxy.ClassFactory
- Put bytecode to load a given local variable on the stream.
- putU1(int) - Method in class java.lang.reflect.Proxy.ClassFactory
- Put a single byte on the stream.
- putU2(int) - Method in class java.lang.reflect.Proxy.ClassFactory
- Put two bytes on the stream.
- putU4(int) - Method in class java.lang.reflect.Proxy.ClassFactory
- Put four bytes on the stream.
Q
- qualName - Variable in class java.lang.reflect.Proxy.ClassFactory
- The VM name of this proxy class.
R
- RETURN - Static variable in class java.lang.reflect.Proxy.ClassFactory
- ReflectPermission - class java.lang.reflect.ReflectPermission.
- This class implements permissions for reflection.
- ReflectPermission(String) - Constructor for class java.lang.reflect.ReflectPermission
- Construct a ReflectPermission with the given name.
- ReflectPermission(String, String) - Constructor for class java.lang.reflect.ReflectPermission
- Construct a ReflectPermission with the given name.
- refInfo(byte, String, String, String) - Method in class java.lang.reflect.Proxy.ClassFactory
- Returns the entry of the appropriate fieldref, methodref, or interfacemethodref info structure in the Constant pool, adding it if necessary.
S
- SIPUSH - Static variable in class java.lang.reflect.Proxy.ClassFactory
- STATIC - Static variable in class java.lang.reflect.Modifier
- Static:
Class: no enclosing instance for nested class. Field or Method: can be accessed or invoked without an instance of the declaring class. - STRICT - Static variable in class java.lang.reflect.Modifier
- Strictfp: Method: expressions are FP-strict.
- SUPER - Static variable in class java.lang.reflect.Modifier
- Super - treat invokespecial as polymorphic so that super.foo() works according to the JLS.
- SWAP - Static variable in class java.lang.reflect.Proxy.ClassFactory
- SYNCHRONIZED - Static variable in class java.lang.reflect.Modifier
- Synchronized: Method: lock the class while calling this method.
- SYNTHETIC - Static variable in class java.lang.reflect.Modifier
- Flag indicating a synthetic member.
- secureSetAccessible(boolean) - Method in class java.lang.reflect.AccessibleObject
- Performs the actual accessibility change, this must always be invoked after calling checkPermission.
- serialVersionUID - Static variable in class java.lang.reflect.GenericSignatureFormatError
- serialVersionUID - Static variable in class java.lang.reflect.InvocationTargetException
- Compatible with JDK 1.1+.
- serialVersionUID - Static variable in class java.lang.reflect.MalformedParameterizedTypeException
- serialVersionUID - Static variable in class java.lang.reflect.Proxy
- Compatible with JDK 1.3+.
- serialVersionUID - Static variable in class java.lang.reflect.ReflectPermission
- Compatible with JDK 1.2.
- serialVersionUID - Static variable in class java.lang.reflect.UndeclaredThrowableException
- Compatible with JDK 1.3+.
- set(Object, int, Object) - Static method in class java.lang.reflect.Array
- Sets an element of an array.
- set(Object, Object) - Method in class java.lang.reflect.Field
- Set the value of this Field.
- setAccessible(AccessibleObject[], boolean) - Static method in class java.lang.reflect.AccessibleObject
- Convenience method to set the flag on a number of objects with a single security check.
- setAccessible(boolean) - Method in class java.lang.reflect.AccessibleObject
- Sets the accessibility flag for this reflection object.
- setBoolean(Object, int, boolean) - Static method in class java.lang.reflect.Array
- Sets an element of a boolean array.
- setBoolean(Object, boolean) - Method in class java.lang.reflect.Field
- Set this boolean Field.
- setByte(Object, int, byte) - Static method in class java.lang.reflect.Array
- Sets an element of a byte array.
- setByte(Object, byte) - Method in class java.lang.reflect.Field
- Set this byte Field.
- setChar(Object, int, char) - Static method in class java.lang.reflect.Array
- Sets an element of a char array.
- setChar(Object, char) - Method in class java.lang.reflect.Field
- Set this char Field.
- setDouble(Object, int, double) - Static method in class java.lang.reflect.Array
- Sets an element of a double array.
- setDouble(Object, double) - Method in class java.lang.reflect.Field
- Set this double Field.
- setFloat(Object, int, float) - Static method in class java.lang.reflect.Array
- Sets an element of a float array.
- setFloat(Object, float) - Method in class java.lang.reflect.Field
- Set this float Field.
- setInt(Object, int, int) - Static method in class java.lang.reflect.Array
- Sets an element of an int array.
- setInt(Object, int) - Method in class java.lang.reflect.Field
- Set this int Field.
- setLong(Object, int, long) - Static method in class java.lang.reflect.Array
- Sets an element of a long array.
- setLong(Object, long) - Method in class java.lang.reflect.Field
- Set this long Field.
- setShort(Object, int, short) - Static method in class java.lang.reflect.Array
- Sets an element of a short array.
- setShort(Object, short) - Method in class java.lang.reflect.Field
- Set this short Field.
- slot - Variable in class java.lang.reflect.Constructor
- slot - Variable in class java.lang.reflect.Field
- slot - Variable in class java.lang.reflect.Method
- stream - Variable in class java.lang.reflect.Proxy.ClassFactory
- The rest of the class data.
T
- TRANSIENT - Static variable in class java.lang.reflect.Modifier
- Transient: Field: not serialized or deserialized.
- Type - interface java.lang.reflect.Type.
- Represents any
Typewithin the Java programming language. - TypeVariable - interface java.lang.reflect.TypeVariable.
- This is a common interface for all type variables provided by the Java language.
- target - Variable in class java.lang.reflect.InvocationTargetException
- The chained exception.
- toGenericString() - Method in class java.lang.reflect.Constructor
- toGenericString() - Method in class java.lang.reflect.Field
- toGenericString() - Method in class java.lang.reflect.Method
- toString() - Method in class java.lang.reflect.Constructor
- Get a String representation of the Constructor.
- toString() - Method in class java.lang.reflect.Field
- Get a String representation of the Field.
- toString() - Method in class java.lang.reflect.Method
- Get a String representation of the Method.
- toString(int) - Static method in class java.lang.reflect.Modifier
- Get a string representation of all the modifiers represented by the given int.
- toString(int, StringBuilder) - Static method in class java.lang.reflect.Modifier
- Package helper method that can take a StringBuilder.
- toString(int, StringBuffer) - Static method in class java.lang.reflect.Modifier
- Package helper method that can take a StringBuffer.
- toUtf8(String) - Method in class java.lang.reflect.Proxy.ClassFactory
- Converts a regular string to a UTF8 string, where the upper byte of every char is 0, and '\\u0000' is not in the string.
U
- UndeclaredThrowableException - exception java.lang.reflect.UndeclaredThrowableException.
- This exception class is thrown by a Proxy instance if the invoke 55 method of that instance's InvocationHandler attempts to throw an exception that not declared by the throws clauses of all of the interface methods that the proxy instance is implementing.
- UndeclaredThrowableException(Throwable) - Constructor for class java.lang.reflect.UndeclaredThrowableException
- Wraps the given checked exception into a RuntimeException, with no detail message.
- UndeclaredThrowableException(Throwable, String) - Constructor for class java.lang.reflect.UndeclaredThrowableException
- Wraps the given checked exception into a RuntimeException, with the specified detail message.
- undeclaredThrowable - Variable in class java.lang.reflect.UndeclaredThrowableException
- The immutable exception that this wraps.
- utf8Info(String) - Method in class java.lang.reflect.Proxy.ClassFactory
- Returns the entry of this String in the Constant pool, adding it if necessary.
V
- VARARGS - Static variable in class java.lang.reflect.Modifier
- Flag indicating a varargs method.
- VMArray - class java.lang.reflect.VMArray.
- VMArray() - Constructor for class java.lang.reflect.VMArray
- VMProxy - class java.lang.reflect.VMProxy.
- VMProxy() - Constructor for class java.lang.reflect.VMProxy
- VOLATILE - Static variable in class java.lang.reflect.Modifier
- Volatile: Field: cannot be cached.
W
- WildcardType - interface java.lang.reflect.WildcardType.
- Represents a wildcard type expression, where the type variable is unnamed.
- wrapper(Class) - Method in class java.lang.reflect.Proxy.ClassFactory
- Given a primitive type, return its wrapper class name.
A B C D E F G H I J L M N P Q R S T U V W
|
|||||||||
| Home >> All >> java >> lang >> [ reflect overview ] | PREV NEXT | ||||||||