Uses of Class
java.lang.reflect.Field
Package
Description
Provides classes that are fundamental to the design of the Java
programming language.
The
java.lang.invoke
package provides low-level primitives for interacting
with the Java Virtual Machine.Provides utility classes to allow serializable mappings between SQL types
and data types in the Java programming language.
Contains classes that make it more convenient for language runtimes to
implement their own language-specific object models and type conversions
by providing basic implementations of some classes as well as various
utilities.
-
Uses of Field in java.lang
Modifier and TypeMethodDescriptionClass.getDeclaredField
(String name) Returns aField
object that reflects the specified declared field of the class or interface represented by thisClass
object.Field[]
Class.getDeclaredFields()
Returns an array ofField
objects reflecting all the fields declared by the class or interface represented by thisClass
object.Returns aField
object that reflects the specified public member field of the class or interface represented by thisClass
object.Field[]
Class.getFields()
Returns an array containingField
objects reflecting all the accessible public fields of the class or interface represented by thisClass
object. -
Uses of Field in java.lang.invoke
Modifier and TypeMethodDescriptionMethodHandles.Lookup.unreflectGetter
(Field f) Produces a method handle giving read access to a reflected field.MethodHandles.Lookup.unreflectSetter
(Field f) Produces a method handle giving write access to a reflected field.MethodHandles.Lookup.unreflectVarHandle
(Field f) Produces a VarHandle giving access to a reflected fieldf
of typeT
declared in a class of typeR
. -
Uses of Field in javax.sql.rowset.serial
-
Uses of Field in jdk.dynalink.linker.support
Modifier and TypeMethodDescriptionLookup.unreflectGetter
(Field f) Performs aMethodHandles.Lookup.unreflectGetter(Field)
, converting any encounteredIllegalAccessException
into anIllegalAccessError
.Lookup.unreflectSetter
(Field f) Performs aMethodHandles.Lookup.unreflectSetter(Field)
, converting any encounteredIllegalAccessException
into anIllegalAccessError
.