diff options
Diffstat (limited to 'src/main/javassist/CtClass.java')
-rw-r--r-- | src/main/javassist/CtClass.java | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/main/javassist/CtClass.java b/src/main/javassist/CtClass.java index e805c201..b14ca983 100644 --- a/src/main/javassist/CtClass.java +++ b/src/main/javassist/CtClass.java @@ -535,6 +535,18 @@ public abstract class CtClass { /** * Returns an array of nested classes declared in the class. * Nested classes are inner classes, anonymous classes, local classes, + * and static nested classes. This simply calls <code>getNestedClasses()</code>. + * + * @see #getNestedClasses() + * @since 3.15 + */ + public CtClass[] getDeclaredClasses() throws NotFoundException { + return getNestedClasses(); + } + + /** + * Returns an array of nested classes declared in the class. + * Nested classes are inner classes, anonymous classes, local classes, * and static nested classes. * * @since 3.2 |