Uses of Class
java.lang.reflect.Field
Packages that useField
Package
Description
Provides classes that are fundamental to the design of the Javaprogramming language.
The
java.lang.invoke package provides low-level primitives for interactingwith the Java Virtual Machine.Provides utility classes to allow serializable mappings between SQL typesand data types in the Java programming language.
Contains classes that make it more convenient for language runtimes toimplement their own language-specific object models and type conversionsby providing basic implementations of some classes as well as variousutilities.
Uses ofField injava.lang
Modifier and TypeMethodDescriptionClass.getDeclaredField(String name) Returns aFieldobject that reflects the specified declaredfield of the class or interface represented by thisClassobject.Field[]Class.getDeclaredFields()Returns an array ofFieldobjects reflecting all the fieldsdeclared by the class or interface represented by thisClassobject.Returns aFieldobject that reflects the specified public memberfield of the class or interface represented by thisClassobject.Field[]Class.getFields()Returns an array containingFieldobjects reflecting allthe accessible public fields of the class or interface represented bythisClassobject.Uses ofField injava.lang.invoke
Methods injava.lang.invoke with parameters of typeFieldModifier 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 fieldfof typeTdeclared in a class of typeR.Uses ofField injavax.sql.rowset.serial
Methods injavax.sql.rowset.serial that returnFieldUses ofField injdk.dynalink.linker.support
Methods injdk.dynalink.linker.support with parameters of typeFieldModifier and TypeMethodDescriptionLookup.unreflectGetter(Field f) Performs aMethodHandles.Lookup.unreflectGetter(Field),converting any encounteredIllegalAccessExceptioninto anIllegalAccessError.Lookup.unreflectSetter(Field f) Performs aMethodHandles.Lookup.unreflectSetter(Field),converting any encounteredIllegalAccessExceptioninto anIllegalAccessError.