aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/javassist/CtClass.java
diff options
context:
space:
mode:
authorchiba <chiba@30ef5769-5b8d-40dd-aea6-55b5d6557bb3>2011-06-21 11:27:56 +0000
committerchiba <chiba@30ef5769-5b8d-40dd-aea6-55b5d6557bb3>2011-06-21 11:27:56 +0000
commit41bb82351ccedc78bcff9271453edb8e42c8a66d (patch)
tree43a64847b9412b565e5bcd2e8a6deeab250c0ba9 /src/main/javassist/CtClass.java
parent749d7725ab7cf8a4133b20f35f0ab62930d70aa5 (diff)
downloadjavassist-41bb82351ccedc78bcff9271453edb8e42c8a66d.tar.gz
javassist-41bb82351ccedc78bcff9271453edb8e42c8a66d.zip
a minor bug fix
git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@582 30ef5769-5b8d-40dd-aea6-55b5d6557bb3
Diffstat (limited to 'src/main/javassist/CtClass.java')
-rw-r--r--src/main/javassist/CtClass.java12
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