KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > Application


1 import proguard.annotation.KeepApplication;
2
3 /**
4  * This application 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 main method.
10  */

11 @KeepApplication
12 public class Application
13 {
14     public static void main(String JavaDoc[] args)
15     {
16         System.out.println("The answer is 42");
17     }
18 }
19
Popular Tags