<h2>Changes</h2>
+<p>-version 3.7
+
<p>-version 3.6.0 on September 13, 2007
<p>-version 3.6.0.CR1 on July 27, 2007
Specification-Title: Javassist
Created-By: Shigeru Chiba, Tokyo Institute of Technology
Specification-Vendor: Shigeru Chiba, Tokyo Institute of Technology
-Specification-Version: 3.6.0.GA
+Specification-Version: 3.7
Main-Class: javassist.CtClass
Name: javassist/
/**
* The version number of this release.
*/
- public static final String version = "3.6.0.GA";
+ public static final String version = "3.7.0.beta";
/**
* Prints the version number and the copyright notice.
thisMethod = m;
}
+ /**
+ * Returns the class that declares the method enclosing
+ * this expression.
+ *
+ * @since 3.7
+ */
+ public CtClass getEnclosingClass() { return thisClass; }
+
protected final ConstPool getConstPool() {
return thisMethod.getConstPool();
}