If this Class object represents a local or anonymous
class within a method, returns a Method object representing the
immediately enclosing method of the underlying class. Returns
null otherwise.
In particular, this method returns null if the underlying
class is a local or anonymous class immediately enclosed by a type
declaration, instance initializer or static initializer.
null.
SecurityException
| If a security manager, s, is present and any of the
following conditions is met:
|
Diagram: Class, Package, Module