Returns an array of Field objects reflecting all the fields
declared by the class or interface represented by this
Class object. This includes public, protected, default
(package) access, and private fields, but excludes inherited fields.
If this Class object represents a class or interface with no
declared fields, then this method returns an array of length 0.
If this Class object represents an array type, a primitive
type, or void, then this method returns an array of length 0.
The elements in the returned array are not sorted and are not in any particular order.
Field objects representing all the
declared fields of this class
SecurityException
| If a security manager, s, is present and any of the
following conditions is met:
|
@jls 8.2 Class Members
@jls 8.3 Field Declarations
Diagram: Class, Package, Module