Uses of Class
java.lang.reflect.Field
Packages that useField
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 ofField injava.lang
Modifier and TypeMethodDescriptionClass.getDeclaredField(String name) Returns aFieldobject that reflects the specified declared field of the class or interface represented by thisClassobject.Field[]Class.getDeclaredFields()Returns an array ofFieldobjects reflecting all the fields declared by the class or interface represented by thisClassobject.Returns aFieldobject that reflects the specified public member field of the class or interface represented by thisClassobject.Field[]Class.getFields()Returns an array containingFieldobjects reflecting all the accessible public fields of the class or interface represented by thisClassobject.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.