Uses of Class
java.lang.NoSuchFieldException
-
Packages that use NoSuchFieldException Package Description java.lang Provides classes that are fundamental to the design of the Java programming language.java.lang.invoke Thejava.lang.invoke
package provides low-level primitives for interacting with the Java Virtual Machine. -
-
Uses of NoSuchFieldException in java.lang
Methods in java.lang that throw NoSuchFieldException Modifier and Type Method Description Field
Class. getDeclaredField(String name)
Answers a Field object describing the field in the receiver named by the argument.Field
Class. getField(String name)
Answers a Field object describing the field in the receiver named by the argument which must be visible from the current execution context. -
Uses of NoSuchFieldException in java.lang.invoke
Methods in java.lang.invoke that throw NoSuchFieldException Modifier and Type Method Description MethodHandle
MethodHandles.Lookup. findGetter(Class<?> clazz, String fieldName, Class<?> fieldType)
Return a MethodHandle that provides read access to a field.MethodHandle
MethodHandles.Lookup. findSetter(Class<?> clazz, String fieldName, Class<?> fieldType)
Return a MethodHandle that provides write access to a field.MethodHandle
MethodHandles.Lookup. findStaticGetter(Class<?> clazz, String fieldName, Class<?> fieldType)
Return a MethodHandle that provides read access to a field.MethodHandle
MethodHandles.Lookup. findStaticSetter(Class<?> clazz, String fieldName, Class<?> fieldType)
Return a MethodHandle that provides write access to a field.VarHandle
MethodHandles.Lookup. findStaticVarHandle(Class<?> definingClass, String name, Class<?> type)
Factory method for obtaining a VarHandle referencing a static field.VarHandle
MethodHandles.Lookup. findVarHandle(Class<?> definingClass, String name, Class<?> type)
Factory method for obtaining a VarHandle referencing a non-static field.
-