Sophie

Sophie

distrib > Fedora > 18 > x86_64 > media > updates > by-pkgid > 86c50f7fee5ee5a28fe9f8ed595908b5 > files > 12

proguard-4.8-2.fc18.noarch.rpm

import proguard.annotation.KeepApplication;

/**
 * This application illustrates the use of annotations for configuring ProGuard.
 *
 * You can compile it with:
 *     javac -classpath ../lib/annotations.jar Application.java
 * You can then process it with:
 *     java -jar ../../../lib/proguard.jar @ ../examples.pro
 *
 * The annotation will preserve the class and its main method.
 */
@KeepApplication
public class Application
{
    public static void main(String[] args)
    {
        System.out.println("The answer is 42");
    }
}