APIdia Launch Partner
Top Interfaces Annotations Classes
module java.base

Package jdk.internal.reflect


Interface Summary

Modifier and TypeInterface and Description
public interface
ConstructorAccessor

This interface provides the declaration for java.lang.reflect.Constructor.invoke().

public interface
FieldAccessor

This interface provides the declarations for the accessor methods of java.lang.reflect.Field.

public interface
MethodAccessor

This interface provides the declaration for java.lang.reflect.Method.invoke().

Annotation Summary

Modifier and TypeAnnotation and Description
public @interface
CallerSensitive

A method annotated @CallerSensitive is sensitive to its calling class, via Reflection.getCallerClass, or via some equivalent.

public @interface
CallerSensitiveAdapter

A method annotated @CallerSensitiveAdapter is an adapter method corresponding to a caller-sensitive method, which is annotated with @CallerSensitive.

Class Summary

Modifier and TypeClass and Description
public class
AccessorUtils

Utility methods used by DirectMethodHandleAccessor and DirectConstructorHandleAccessor

public class
ConstantPool

Provides reflective access to the constant pools of classes.

pack-priv abstract class
pack-priv class
CsMethodAccessorAdapter

MethodAccessor adapter for caller-sensitive methods which have an alternate non-CSM method with the same method name but an additional caller class argument.

pack-priv class
pack-priv class
pack-priv abstract class
pack-priv class
InstantiationExceptionConstructorAccessorImpl

Throws an InstantiationException with given error message upon newInstance() call

pack-priv abstract class
MethodAccessorImpl

This class is known to the VM; do not change its name without also changing the VM's code.

pack-priv class
pack-priv class
pack-priv class
pack-priv class
pack-priv class
pack-priv abstract class
pack-priv class
pack-priv class
pack-priv class
pack-priv class
pack-priv class
public class
Reflection

Common utility routines used by both java.lang and java.lang.reflect

public class
ReflectionFactory

The master factory for all reflective objects, both those in java.lang.reflect (Fields, Methods, Constructors) as well as their delegates (FieldAccessors, MethodAccessors, ConstructorAccessors).