Uses of Class
java.lang.NoSuchFieldException
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.-
Uses of NoSuchFieldException 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.Returns aField
object that reflects the specified public member field of the class or interface represented by thisClass
object. -
Uses of NoSuchFieldException in java.lang.invoke
Modifier and TypeMethodDescriptionMethodHandles.Lookup.findGetter
(Class<?> refc, String name, Class<?> type) Produces a method handle giving read access to a non-static field.MethodHandles.Lookup.findSetter
(Class<?> refc, String name, Class<?> type) Produces a method handle giving write access to a non-static field.MethodHandles.Lookup.findStaticGetter
(Class<?> refc, String name, Class<?> type) Produces a method handle giving read access to a static field.MethodHandles.Lookup.findStaticSetter
(Class<?> refc, String name, Class<?> type) Produces a method handle giving write access to a static field.MethodHandles.Lookup.findStaticVarHandle
(Class<?> decl, String name, Class<?> type) Produces a VarHandle giving access to a static fieldname
of typetype
declared in a class of typedecl
.MethodHandles.Lookup.findVarHandle
(Class<?> recv, String name, Class<?> type) Produces a VarHandle giving access to a non-static fieldname
of typetype
declared in a class of typerecv
.