[jboss-cvs] javassist/src/main/javassist/expr ...
Shigeru Chiba
chiba at is.titech.ac.jp
Sun Sep 30 11:33:15 EDT 2007
User: chiba
Date: 07/09/30 11:33:15
Modified: src/main/javassist/expr Expr.java
Log:
added Expr#getEnclosingClass()
Revision Changes Path
1.18 +8 -0 javassist/src/main/javassist/expr/Expr.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: Expr.java
===================================================================
RCS file: /cvsroot/jboss/javassist/src/main/javassist/expr/Expr.java,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -b -r1.17 -r1.18
--- Expr.java 22 Jun 2007 11:50:48 -0000 1.17
+++ Expr.java 30 Sep 2007 15:33:14 -0000 1.18
@@ -61,6 +61,14 @@
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();
}
More information about the jboss-cvs-commits
mailing list