1 package annotations.tests.classfile.cases; 2 3 import java.util.Set; 4 5 public class TestLocalVariableA<T> extends Object { 6 public int i; 7 8 public Set<Set> s; 9 TestLocalVariableA()10 public TestLocalVariableA() { 11 int t = 0; 12 i = 0; 13 } 14 TestLocalVariableA(int i)15 public TestLocalVariableA(int i) { 16 this.i = i; 17 } 18 TestLocalVariableA(Integer j)19 public TestLocalVariableA(Integer j) { 20 int k = 1; 21 k++; 22 this.i = j; 23 k--; 24 this.i = k; 25 } 26 i()27 public int i() { 28 return i; 29 } 30 j()31 public int j() { 32 int temp = 1; 33 return j(); 34 } 35 someMethod()36 public static void someMethod() { 37 TestLocalVariableA t = new TestLocalVariableA(); 38 String s = new String(); 39 Double d = Double.valueOf(2); 40 } 41 main(String[] args)42 public static void main(String[] args) { 43 boolean b = true; 44 boolean b1 = Boolean.TRUE; 45 boolean b2 = (boolean) Boolean.FALSE; 46 b = b1 && b2; 47 if (b || b2) { 48 b1 = b; 49 } 50 if (b1) { 51 System.out.println("Message"); 52 } 53 } 54 } 55