Method getDeclaredField(String name)
Return type: java.lang.reflect.Field
Member of: java.lang.Class
[api documentation ] [ main menu]

Examples of how the element is used (one line per example):
[add your own example]

1 Field f = Component.class.getDeclaredField("peer"); // NOI18N
2 Field f = Container.class.getDeclaredField("component"); // NOI18N
3 Field field = cls.getDeclaredField("group");
4 final Field f = ps.getClass().getSuperclass().getDeclaredField("m_userRsetType");
5 Field f = Sheet.class.getDeclaredField("columnSizes");
6 Field includesField = directoryScanner.getDeclaredField("includes");
7 Field systemFolderField = mrjFileUtilsClass.getDeclaredField("kSystemFolderType");
8 Field field= clazz.getDeclaredField(fieldName);
9 _distributionModeInternal=GroupRequest.class.getDeclaredField(distributionMode).getInt(GroupRequest.class);
10 Field f = c.getDeclaredField(name);
11 f = getClass().getDeclaredField(name);
12 Field f=KeyEvent.class.getDeclaredField(defkey);
13 Field field = cls.getDeclaredField(name);
14 obj = c.getDeclaredField(s.readUTF());
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.