Class.getDeclaredField

Class.getDeclaredField

Class Overview | Class Members | This Package | All Packages

Syntax
public Field getDeclaredField( String name ) throws NoSuchFieldException, SecurityException
Description
Returns a Field object that reflects the specified declared field of the class or interface represented by this Class object. The name parameter is a String that specifies the simple name of the desired field.

Exceptions
NoSuchFieldException if a field with the specified name is not found.
Exceptions
SecurityException if access to the information is denied.
See Also
Field