Methods in java.lang that return Field |
Field[] |
Class.getFields()
Returns an array containing Field objects reflecting all
the accessible public fields of the class or interface represented by
this Class object. |
Field |
Class.getField(String name)
Returns a Field object that reflects the specified public
member field of the class or interface represented by this
Class object. |
Field[] |
Class.getDeclaredFields()
Returns an array of Field objects reflecting all the fields
declared by the class or interface represented by this
Class object. |
Field |
Class.getDeclaredField(String name)
Returns a Field object that reflects the specified declared
field of the class or interface represented by this Class
object. |