| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static void | |
| public static void | |
| public static void | |
| public static void | register(boolean finalIsWritable, Field... fields)
Deprecated
since 21.1. Use
register(Field. instead.
|
| public static void | register(boolean finalIsWritable, boolean allowUnsafeAccess, Field... fields)
Deprecated
since 21.1. Use
register(Field. instead.
|
| public static void | registerAllClasses(Class<?> declaringClass)
Allows calling |
| public static void | registerAllConstructors(Class<?> declaringClass)
Allows calling |
| public static void | registerAllDeclaredClasses(Class<?> declaringClass)
Allows calling |
| public static void | registerAllDeclaredConstructors(Class<?> declaringClass)
Allows calling |
| public static void | registerAllDeclaredFields(Class<?> declaringClass)
Allows calling |
| public static void | registerAllDeclaredMethods(Class<?> declaringClass)
Allows calling |
| public static void | registerAllFields(Class<?> declaringClass)
Allows calling |
| public static void | registerAllMethods(Class<?> declaringClass)
Allows calling |
| public static void | registerAllNestMembers(Class<?> declaringClass)
Allows calling |
| public static void | registerAllPermittedSubclasses(Class<?> declaringClass)
Allows calling |
| public static void | registerAllRecordComponents(Class<?> declaringClass)
Allows calling |
| public static void | registerAllSigners(Class<?> declaringClass)
Allows calling |
| public static void | registerAsQueried(Executable... methods)
Makes the provided methods available for reflection queries at run time. |
| public static void | |
| public static void | registerConstructorLookup(Class<?> declaringClass, Class<?>... parameterTypes)
Makes the provided constructor available for reflection queries at run time. |
| public static void | registerFieldLookup(Class<?> declaringClass, String fieldName)
Makes the provided field available for reflection at run time. |
| public static void | registerForReflectiveInstantiation(Class<?>... classes)
Makes the provided classes available for reflective instantiation by
|
| public static void | registerMethodLookup(Class<?> declaringClass, String methodName, Class<?>... parameterTypes)
Makes the provided method available for reflection queries at run time. |
| RuntimeReflection | back to summary |
|---|---|
| private RuntimeReflection() | |
| register | back to summary |
|---|---|
| public static void register(Class<?>... classes) Makes the provided classes available for reflection at run time. A call to
| |
| register | back to summary |
|---|---|
| public static void register(Executable... methods) Makes the provided methods available for reflection at run time. The methods will be returned
by
| |
| register | back to summary |
|---|---|
| public static void register(Field... fields) Makes the provided fields available for reflection at run time. The fields will be returned
by
| |
| register | back to summary |
|---|---|
| public static void register(boolean finalIsWritable, Field... fields)
Deprecated since 21.1. Use
| |
| register | back to summary |
|---|---|
| public static void register(boolean finalIsWritable, boolean allowUnsafeAccess, Field... fields)
Deprecated since 21.1. Use
| |
| registerAllClasses | back to summary |
|---|---|
| public static void registerAllClasses(Class<?> declaringClass) Allows calling
| |
| registerAllConstructors | back to summary |
|---|---|
| public static void registerAllConstructors(Class<?> declaringClass) Allows calling
| |
| registerAllDeclaredClasses | back to summary |
|---|---|
| public static void registerAllDeclaredClasses(Class<?> declaringClass) Allows calling
| |
| registerAllDeclaredConstructors | back to summary |
|---|---|
| public static void registerAllDeclaredConstructors(Class<?> declaringClass) Allows calling
| |
| registerAllDeclaredFields | back to summary |
|---|---|
| public static void registerAllDeclaredFields(Class<?> declaringClass) Allows calling
| |
| registerAllDeclaredMethods | back to summary |
|---|---|
| public static void registerAllDeclaredMethods(Class<?> declaringClass) Allows calling
| |
| registerAllFields | back to summary |
|---|---|
| public static void registerAllFields(Class<?> declaringClass) Allows calling
| |
| registerAllMethods | back to summary |
|---|---|
| public static void registerAllMethods(Class<?> declaringClass) Allows calling
| |
| registerAllNestMembers | back to summary |
|---|---|
| public static void registerAllNestMembers(Class<?> declaringClass) Allows calling
| |
| registerAllPermittedSubclasses | back to summary |
|---|---|
| public static void registerAllPermittedSubclasses(Class<?> declaringClass) Allows calling
| |
| registerAllRecordComponents | back to summary |
|---|---|
| public static void registerAllRecordComponents(Class<?> declaringClass) Allows calling
| |
| registerAllSigners | back to summary |
|---|---|
| public static void registerAllSigners(Class<?> declaringClass) Allows calling
| |
| registerAsQueried | back to summary |
|---|---|
| public static void registerAsQueried(Executable... methods) Makes the provided methods available for reflection queries at run time. The methods will be
returned by
| |
| registerClassLookup | back to summary |
|---|---|
| public static void registerClassLookup(String className) Makes the provided class available for reflection at run time. A call to
| |
| registerConstructorLookup | back to summary |
|---|---|
| public static void registerConstructorLookup(Class<?> declaringClass, Class<?>... parameterTypes) Makes the provided constructor available for reflection queries at run time. The constructor
will be returned by
| |
| registerFieldLookup | back to summary |
|---|---|
| public static void registerFieldLookup(Class<?> declaringClass, String fieldName) Makes the provided field available for reflection at run time. The field will be returned by
| |
| registerForReflectiveInstantiation | back to summary |
|---|---|
| public static void registerForReflectiveInstantiation(Class<?>... classes) Makes the provided classes available for reflective instantiation by
| |
| registerMethodLookup | back to summary |
|---|---|
| public static void registerMethodLookup(Class<?> declaringClass, String methodName, Class<?>... parameterTypes) Makes the provided method available for reflection queries at run time. The method will be
returned by
| |