From eac60d7a40e91d8976e81eebffe01c99c585091b Mon Sep 17 00:00:00 2001 From: jochen Date: Sat, 26 Jun 1999 18:25:18 +0000 Subject: [PATCH] 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 --- jode/jode/expr/ConstructorOperator.java | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/jode/jode/expr/ConstructorOperator.java b/jode/jode/expr/ConstructorOperator.java index aee8825..e99c492 100644 --- a/jode/jode/expr/ConstructorOperator.java +++ b/jode/jode/expr/ConstructorOperator.java @@ -168,6 +168,14 @@ public class ConstructorOperator extends Operator && clazzAna != null && outer != null && (outer.outer == null || outer.name == null)) { 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(); if (outer.name != null) {