Browse Source

added Expr#getEnclosingClass()


git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@409 30ef5769-5b8d-40dd-aea6-55b5d6557bb3
tags/rel_3_17_1_ga
chiba 16 years ago
parent
commit
8968f3341b

+ 2
- 0
Readme.html View File

@@ -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

+ 1
- 1
src/main/META-INF/MANIFEST.MF View File

@@ -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/

+ 1
- 1
src/main/javassist/CtClass.java View File

@@ -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.

+ 8
- 0
src/main/javassist/expr/Expr.java View File

@@ -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();
}

Loading…
Cancel
Save