import proguard.annotation.*; | |
/** | |
* This applet illustrates the use of annotations for configuring ProGuard. | |
* | |
* You can compile it with: | |
* javac -classpath ../lib/annotations.jar Applet.java | |
* You can then process it with: | |
* java -jar ../../../lib/proguard.jar @ ../examples.pro | |
* | |
* The annotation will preserve the class and its essential methods. | |
*/ | |
@Keep | |
public class Applet extends java.applet.Applet | |
{ | |
// Implementations for Applet. | |
public void init() | |
{ | |
// ... | |
} | |
} |