1 import proguard.annotation.*; 2 3 /** 4 * This applet illustrates the use of annotations for configuring ProGuard. 5 * 6 * After having been compiled, it can be processed using: 7 * java -jar proguard.jar @examples.pro 8 * 9 * The annotation will preserve the class and its essential methods. 10 */ 11 @Keep 12 public class Applet extends java.applet.Applet 13 { 14 // Implementations for Applet. 15 16 public void init() 17 { 18 // ... 19 } 20 } 21