enclosingClassName

Returns the enclosing class, like Map for Map.Entry. Returns null if this class is not nested in another class.