Package | Description |
---|---|
java.lang |
Modifier and Type | Method and Description |
---|---|
Field |
Class.getDeclaredField(String fieldname)
Get this Class's declared field with the given name.
|
Field[] |
Class.getDeclaredFields()
Return an array containing all this Class's declared fields.
|
Field |
Class.getField(String fieldname)
Get this Class's public field with the given name.
|
Field[] |
Class.getFields()
Return an array containing all this Class's public fields.
|