From 41bb82351ccedc78bcff9271453edb8e42c8a66d Mon Sep 17 00:00:00 2001 From: chiba Date: Tue, 21 Jun 2011 11:27:56 +0000 Subject: a minor bug fix git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@582 30ef5769-5b8d-40dd-aea6-55b5d6557bb3 --- src/main/javassist/CtClass.java | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'src/main/javassist/CtClass.java') 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 @@ -532,6 +532,18 @@ public abstract class CtClass { return new Object[0]; } + /** + * 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 getNestedClasses(). + * + * @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, -- cgit v1.2.3