Searched refs:DA (Results 1 - 14 of 14) sorted by relevance

/openjdk9/langtools/test/tools/javac/annotations/typeAnnotations/failures/common/arrays/
H A DDeclarationAnnotation.java10 Object e1 = new @DA int[5];
11 Object e2 = new @DA String[42];
12 Object e3 = new @DA Object();
13 Object e4 = new @DA Object() { };
16 @interface DA { } interface
/openjdk9/langtools/test/tools/javac/generics/wildcards/neg/
H A DCastWarn.java39 private interface DA<T> { } interface in class:CastWarn
40 private interface DB<T> extends DA<T> { }
41 private interface DC<T> extends DA<Integer> { }
47 o = (DA<? extends Runnable>) (DA<? extends Number>) null; // <<warn 2>>
48 o = (DA<? super Integer>) (DA<? extends Number>) null; // <<warn 3>>
49 o = (DA<? super String>) (DA<? super Number>) null; // <<warn 4>>
52 o = (DA<
[all...]
H A DCastTest.java110 private interface DA<T> { } interface in class:CastTest
111 private interface DB<T> extends DA<T> { }
112 private interface DC<T> extends DA<Integer> { }
118 o = (DA<? extends Number>) (DA<Integer>) null; // <<pass>>
119 o = (DA<? super Integer>) (DA<Number>) null; // <<pass>>
120 o = (DA<?>) (DA<Integer>) null; // <<pass>>
121 o = (DA<
[all...]
H A DCastFail.java104 private interface DA<T> { } interface in class:CastFail
105 private interface DB<T> extends DA<T> { }
106 private interface DC<T> extends DA<Integer> { }
112 o = (DA<Number>) (DA<Integer>) null; // <<fail 14>>
113 o = (DA<? extends Integer>) (DA<Number>) null; // <<fail 15>>
114 o = (DA<? super Number>) (DA<Integer>) null; // <<fail 16>>
115 o = (DA<
[all...]
/openjdk9/langtools/test/tools/javac/cast/5034609/
H A DT5034609.java31 interface DA<T> { } interface
32 interface DB<T> extends DA<T> { }
33 interface DC<T> extends DA<Integer> { }
36 Object o = (DC<?>) (DA<?>) null; // <<pass>>
/openjdk9/langtools/test/jdk/javadoc/doclet/typeAnnotations/smoke/pkg/
H A DTargetTypes.java46 @interface DA {} interface
56 Object l2 = (@A @DA Long) l1;
63 List<T> l = (List<@A @DA T>) list;
70 return (s instanceof @A @DA String);
77 boolean ok = obj instanceof String @A @DA [];
84 new @A @DA ArrayList<String>();
91 new ArrayList<@A @DA T>();
97 void m0x06(@A @DA T0x06 this) {}
103 @A @DA String s = null;
110 List<@A @DA Strin
[all...]
/openjdk9/langtools/test/com/sun/javadoc/typeAnnotations/smoke/pkg/
H A DTargetTypes.java46 @interface DA {} interface
56 Object l2 = (@A @DA Long) l1;
63 List<T> l = (List<@A @DA T>) list;
70 return (s instanceof @A @DA String);
77 boolean ok = obj instanceof String @A @DA [];
84 new @A @DA ArrayList<String>();
91 new ArrayList<@A @DA T>();
97 void m0x06(@A @DA T0x06 this) {}
103 @A @DA String s = null;
110 List<@A @DA Strin
[all...]
/openjdk9/langtools/test/tools/javac/annotations/typeAnnotations/failures/common/receiver/
H A DDeclarationAnnotation.java14 void bad(@DA DeclarationAnnotation this) {}
18 @interface DA { } interface
/openjdk9/langtools/test/tools/javac/generics/wildcards/pos/
H A DCastTest.java115 private interface DA<T> { } interface in class:CastTest
116 private interface DB<T> extends DA<T> { }
117 private interface DC<T> extends DA<Integer> { }
123 o = (DA<? extends Number>) (DA<Integer>) null; // <<pass>>
124 o = (DA<? super Integer>) (DA<Number>) null; // <<pass>>
125 o = (DA<?>) (DA<Integer>) null; // <<pass>>
127 o = (DA<
[all...]
/openjdk9/langtools/test/tools/javac/annotations/typeAnnotations/failures/common/wildcards/
H A DDeclarationAnnotation.java15 List<@DA ? extends Object> bad;
19 @interface DA { } interface
/openjdk9/langtools/test/tools/javac/annotations/typeAnnotations/failures/
H A DCantAnnotateScoping.java21 @interface DA {} interface
43 Object o1 = new @TA @DA @TA2 Outer.SInner();
45 Object o = new ArrayList<@TA @DA Outer.SInner>();
50 // Legal: @DA is only a declaration annotation
51 @DA java.lang.Object f2;
57 @DTA @DA @TA @DA2 @TA2 java.lang.Object f4;
60 // 1: @DA in invalid location
62 java. @DA lang.Object f5;
65 // 1: @DA in invalid location
67 java. @DA XX
[all...]
/openjdk9/langtools/test/tools/javac/treeannotests/
H A DDA.java34 @interface DA { interface
/openjdk9/jdk/make/gensrc/
H A DGensrcCharsetCoder.gmk41 -DA='A' \
76 -DA='An' \
H A DGensrcBuffer.gmk256 -DA=$$($1_A) \

Completed in 169 milliseconds