1 package com.puppycrawl.tools.checkstyle.coding; 2 public class InputFinalize 3 { 4 public InputFinalize() throws Throwable 5 { 6 super.equals(new String ()); 7 super.finalize(); 8 } 9 10 public void finalize() throws Throwable 11 { 12 super.finalize(); 13 } 14 15 public void method() throws Throwable 16 { 17 super.finalize(); 18 } 19 20 { 21 super.finalize(); 22 } 23 } 24 25 class NoSuperFinalize 26 { 27 public void finalize() 28 { 29 } 30 } 31 32 class InnerFinalize 33 { 34 public void finalize() 35 { 36 class Inner 37 { 38 public void finalize() throws Throwable 39 { 40 super.finalize(); 41 } 42 } 43 } 44 } 45 46 class MyClassWithGenericSuperMethod1 48 { 49 void someMethod(java.util.List <? super java.util.Map > l) 50 { 51 52 } 53 } 54 | Popular Tags |