• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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  * as a result of the specifications in lib/annotations.pro.
13  */
14 @Keep
15 public class Applet extends java.applet.Applet
16 {
17     // Implementations for Applet.
18 
init()19     public void init()
20     {
21         // ...
22     }
23 }
24