Return-Path: Delivered-To: apmail-jakarta-bcel-user-archive@www.apache.org Received: (qmail 18645 invoked from network); 20 Dec 2009 01:24:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 20 Dec 2009 01:24:55 -0000 Received: (qmail 17375 invoked by uid 500); 20 Dec 2009 01:24:55 -0000 Delivered-To: apmail-jakarta-bcel-user-archive@jakarta.apache.org Received: (qmail 17290 invoked by uid 500); 20 Dec 2009 01:24:54 -0000 Mailing-List: contact bcel-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "BCEL Users List" Reply-To: "BCEL Users List" Delivered-To: mailing list bcel-user@jakarta.apache.org Received: (qmail 17280 invoked by uid 99); 20 Dec 2009 01:24:54 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 20 Dec 2009 01:24:54 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of margant@gmail.com designates 209.85.220.228 as permitted sender) Received: from [209.85.220.228] (HELO mail-fx0-f228.google.com) (209.85.220.228) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 20 Dec 2009 01:24:46 +0000 Received: by fxm28 with SMTP id 28so4252269fxm.13 for ; Sat, 19 Dec 2009 17:24:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=A+XVqqh4qRtp5A4xCqzYrQjFFDnE0+VeOu2NH5tuCWE=; b=oGUHginMVb9FQP7ST4+ftGhofMGtPZ0LcY6sPr80qQCWTnoVgq/tiehiDFpZGxWLRQ I4s2Ysd/WZ/Y6Y+RV4LdrP9tYCy25J4gTloUov/gX73Vndxop0zuHR+6032XQIY6Ooey hAd8PFyTkk8pPqSLdzy2tgDqhikXSaNrlv50g= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=dAiH7ZyXRDBwzaqU5uJkTTJ7vBIHCyzRE0j1sDQnZxlwbv1dK3/oh8Vkmg+UFDACVx ZKjgHXh15seudOoH47uMXt6lAk7YWfUmbs+TkOA6H1p8CKM2OZBWq/xBRXbwo03U37bi yhVu49op/JyXawR+8uCAenSITPE3qKQItcAEw= MIME-Version: 1.0 Received: by 10.223.15.92 with SMTP id j28mr7720114faa.11.1261272266017; Sat, 19 Dec 2009 17:24:26 -0800 (PST) Date: Sat, 19 Dec 2009 20:24:25 -0500 Message-ID: <935c3aef0912191724j3d24e396jd418729034412688@mail.gmail.com> Subject: from BCEL line back to source From: Anton Margoline To: bcel-user@jakarta.apache.org Content-Type: multipart/alternative; boundary=001517448318618a78047b1ed565 X-Virus-Checked: Checked by ClamAV on apache.org --001517448318618a78047b1ed565 Content-Type: text/plain; charset=ISO-8859-1 Is there a good way to catch assignments to specific value in code? public void testB() { *boolean o = !true;* } translates to boolean a = !false; public testB() : void L0 (0) *LINENUMBER 32 L0 ICONST_0 ISTORE 1: o* L1 (3) LINENUMBER 33 L1 RETURN L2 (5) LOCALVARIABLE this TestDoubleNegative L0 L2 0 LOCALVARIABLE o boolean L1 L2 1 MAXSTACK = 1 MAXLOCALS = 2 I am particularly interested in getting from ICONST_0 to assignment of*!true *. Let me know if anyone has an idea how to do this. Thanks in Advance! --001517448318618a78047b1ed565--