summaryrefslogtreecommitdiff
path: root/examples/annotations/examples/Applet.java
blob: 8a5874b4413fa8159240ad5052188ad3d612ea85 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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()
    {
        // ...
    }
}