Module java.base

Class Field

java.lang.Object
java.lang.reflect.AccessibleObject
java.lang.reflect.Field
All Implemented Interfaces:
AnnotatedElement, Member

public final class Field extends AccessibleObject implements Member
A Field provides information about, and dynamic access to, a single field of a class or an interface. The reflected field may be a class (static) field or an instance field.

A Field permits widening conversions to occur during a get or set access operation, but throws an IllegalArgumentException if a narrowing conversion would occur.

Since:
1.1
See Also: