git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@409 30ef5769-5b8d-40dd-aea6-55b5d6557bb3tags/rel_3_17_1_ga
@@ -281,6 +281,8 @@ see javassist.Dump. | |||
<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 |
@@ -2,7 +2,7 @@ Manifest-Version: 1.1 | |||
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/ |
@@ -52,7 +52,7 @@ public abstract class CtClass { | |||
/** | |||
* 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. |
@@ -61,6 +61,14 @@ public abstract class Expr implements Opcode { | |||
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(); | |||
} |