diff options
Diffstat (limited to 'examples/annotations/src/proguard/annotation/Keep.java')
-rw-r--r-- | examples/annotations/src/proguard/annotation/Keep.java | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/examples/annotations/src/proguard/annotation/Keep.java b/examples/annotations/src/proguard/annotation/Keep.java new file mode 100644 index 0000000..93a469f --- /dev/null +++ b/examples/annotations/src/proguard/annotation/Keep.java @@ -0,0 +1,18 @@ +/* + * ProGuard -- shrinking, optimization, obfuscation, and preverification + * of Java bytecode. + * + * Copyright (c) 2002-2007 Eric Lafortune (eric@graphics.cornell.edu) + */ +package proguard.annotation; + +import java.lang.annotation.*; + +/** + * This annotation specifies not to optimize or obfuscate the annotated class or + * class member as an entry point. + */ +@Target({ ElementType.TYPE, ElementType.FIELD, ElementType.METHOD, ElementType.CONSTRUCTOR }) +@Retention(RetentionPolicy.CLASS) +@Documented +public @interface Keep {} |