Class.getDeclaringClass

Class.getDeclaringClass

Class Overview | Class Members | This Package | All Packages

Syntax
public Class getDeclaringClass()
Description
If the class or interface represented by this Class object is a member of another class, returns the Class object representing the class of which it is a member (its declaring class). Returns null if this class or interface is not a member of any other class.