summaryrefslogblamecommitdiff
path: root/test/files/run/t6548/JavaAnnotationWithNestedEnum_1.java
blob: 32004de5374439689b5c13f02e2ea7d0e12cbf30 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
















                                                                            
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Target({ElementType.ANNOTATION_TYPE, ElementType.METHOD, ElementType.FIELD,
    ElementType.TYPE, ElementType.PARAMETER})
@Retention(RetentionPolicy.RUNTIME)
public @interface JavaAnnotationWithNestedEnum_1
{
    public Value value() default Value.VALUE;

    public enum Value
    {
        VALUE;
    }
}