Method getDeclaringClass()
Return type: java.lang.Class<Class<?>>
Member of: java.lang.reflect.Field
[api documentation ] [ main menu]

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

1 return getField().getDeclaringClass();
2 + field.getDeclaringClass().getName(),
3 + field.getDeclaringClass().getName(),
4 realfield.getDeclaringClass());
5 Class declClass = field.getDeclaringClass();
6 if (usesDefaultInvoker(fld.getDeclaringClass()))
7 Util.nameType(f.getDeclaringClass())));
8 declClass = fieldArray[f].getDeclaringClass();
9 String clsName = f.getDeclaringClass().getName();
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.