From 0e1e5a6830700f3f4f14f270c52625374c220ac9 Mon Sep 17 00:00:00 2001 From: jochen Date: Mon, 15 Mar 1999 21:29:14 +0000 Subject: [PATCH] clazz string doesn't contain quotes anymore git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@441 379699f6-c40d-0410-875b-85095c16579e --- jode/jode/expr/ComplexExpression.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/jode/jode/expr/ComplexExpression.java b/jode/jode/expr/ComplexExpression.java index e3cb5f4..afcf026 100644 --- a/jode/jode/expr/ComplexExpression.java +++ b/jode/jode/expr/ComplexExpression.java @@ -574,11 +574,13 @@ public class ComplexExpression extends Expression { && param instanceof ConstOperator && param.getType().equals(Type.tString)) { String clazz = ((ConstOperator)param).getValue(); - clazz = clazz.substring(1, clazz.length()-1); if (put.getFieldName() .equals("class$" + clazz.replace('.', '$')) || put.getFieldName() .equals("class$L" + clazz.replace('.', '$'))) { + /* XXX analyzed is set too late, the field + * is already printed. + */ put.getField().analyzedSynthetic(); return new ClassFieldOperator(Type.tClass(clazz)); }