1 package org.checkstyle.suppressionxpathfilter.magicnumber; 2 3 public class InputXpathMagicNumberAnotherVariable { 4 public void performOperation() { 5 try { 6 int result = 0; 7 } catch(Exception e) { 8 int a = 0; 9 boolean someCondition = false; 10 if (someCondition) { 11 a = 1; // ok 12 } else { 13 a = 20; // warn 14 } 15 } 16 } 17 }