fill declarables of hidden vars, since they occur in inner class

git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@914 379699f6-c40d-0410-875b-85095c16579e
stable
jochen 26 years ago
parent 8368c6ef37
commit eac60d7a40
  1. 8
      jode/jode/expr/ConstructorOperator.java

@ -168,6 +168,14 @@ public class ConstructorOperator extends Operator
&& clazzAna != null && clazzAna != null
&& outer != null && (outer.outer == null || outer.name == null)) { && outer != null && (outer.outer == null || outer.name == null)) {
arg += clazzAna.getOuterValues().length; arg += clazzAna.getOuterValues().length;
for (int i=0; i< arg; i++) {
Expression expr = subExpressions[i];
if (expr instanceof CheckNullOperator) {
CheckNullOperator cno = (CheckNullOperator) expr;
expr = cno.subExpressions[0];
}
expr.fillDeclarables(used);
}
jikesAnonymousInner = clazzAna.isJikesAnonymousInner(); jikesAnonymousInner = clazzAna.isJikesAnonymousInner();
if (outer.name != null) { if (outer.name != null) {

Loading…
Cancel
Save