Top Inners Constructors Methods
sun.nio.ch

pack-priv Class Reflect

extends Object
Class Inheritance
Imports
java.io.*, java.lang.reflect.*, java.security.AccessController, .PrivilegedAction

Nested and Inner Type Summary

Modifier and TypeClass and Description
private static class

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
pack-priv static Object
get(Object ob, Field f)

pack-priv static Object
pack-priv static Object
invoke(Constructor<?> c, Object[] args)

pack-priv static Object
invoke(Method m, Object ob, Object[] args)

pack-priv static Object
invokeIO(Method m, Object ob, Object[] args)

pack-priv static Constructor<?>
lookupConstructor(String className, Class<?>[] paramTypes)

pack-priv static Field
lookupField(String className, String fieldName)

pack-priv static Method
lookupMethod(String className, String methodName, Class<?>... paramTypes)

pack-priv static void
set(Object ob, Field f, Object val)

private static void
pack-priv static void
setBoolean(Object ob, Field f, boolean val)

pack-priv static void
setInt(Object ob, Field f, int val)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

Reflectback to summary
private Reflect()

Method Detail

getback to summary
pack-priv static Object get(Object ob, Field f)
getback to summary
pack-priv static Object get(Field f)
invokeback to summary
pack-priv static Object invoke(Constructor<?> c, Object[] args)
invokeback to summary
pack-priv static Object invoke(Method m, Object ob, Object[] args)
invokeIOback to summary
pack-priv static Object invokeIO(Method m, Object ob, Object[] args) throws IOException
lookupConstructorback to summary
pack-priv static Constructor<?> lookupConstructor(String className, Class<?>[] paramTypes)
lookupFieldback to summary
pack-priv static Field lookupField(String className, String fieldName)
lookupMethodback to summary
pack-priv static Method lookupMethod(String className, String methodName, Class<?>... paramTypes)
setback to summary
pack-priv static void set(Object ob, Field f, Object val)
setAccessibleback to summary
private static void setAccessible(final AccessibleObject ao)
Annotations
@SuppressWarnings:removal
setBooleanback to summary
pack-priv static void setBoolean(Object ob, Field f, boolean val)
setIntback to summary
pack-priv static void setInt(Object ob, Field f, int val)
sun.nio.ch back to summary

private Class Reflect.ReflectionError

extends Error
Class Inheritance

Field Summary

Modifier and TypeField and Description
private static final long

Constructor Summary

AccessConstructor and Description
pack-priv

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

Hides java.lang.Error.serialVersionUID.

Annotations
@Serial

Constructor Detail

ReflectionErrorback to summary
pack-priv ReflectionError(Throwable x)