1 import proguard.annotation.*; 2 3 /** 4 * This applet illustrates the use of annotations for configuring ProGuard. 5 * 6 * You can compile it with: 7 * javac -classpath ../lib/annotations.jar Applet.java 8 * You can then process it with: 9 * java -jar ../../../lib/proguard.jar @ ../examples.pro 10 * 11 * The annotation will preserve the class and its essential methods. 12 */ 13 @Keep 14 public class Applet extends java.applet.Applet 15 { 16 // Implementations for Applet. 17 18 public void init() 19 { 20 // ... 21 } 22 } 23