Searched refs:TA (Results 1 - 25 of 34) sorted by relevance

12

/openjdk10/langtools/test/tools/javac/treeannotests/
H A DAnnoTreeTests.java29 * @build DA TA Test TestProcessor
36 // @TA("int") int i1 = 0; // TODO: Only visible via ClassFile
37 long i2 = (@TA("long") long) 0;
41 byte @TA("byte[]") [] a2;
42 float[] a3 = (@TA("float") float[]) null;
43 double[] a4 = (double @TA("double[]") []) null;
H A DTA.java33 @interface TA { interface
/openjdk10/langtools/test/tools/javac/warnings/suppress/
H A DTypeAnnotations.java17 public class TypeAnnotations extends @TA Object implements @TA Runnable {
19 public @TA String @TA [] m(@TA String @TA [] p) throws @TA Throwable {
21 @TA Object tested = null;
22 @TA boolean isAnnotated = tested instanceof @TA Strin
54 @interface TA { interface
[all...]
/openjdk10/langtools/test/tools/javac/annotations/typeAnnotations/newlocations/
H A DRepeatingTypeAnnotations.java40 Object fs = new @TA @TA Object();
42 Object ft = new @TA @TA Object();
43 Object fe = new @TA @TA Object();
48 o = new @TA @RTA @RTA Object();
49 o = new @RTA @TA @RTA Object();
51 o = new @RTA @TA @RTA @TA Objec
113 @interface TA { } interface
[all...]
H A DAnonymousClass.java34 Object o1 = new @TA Object() { };
35 Object o2 = new @TA Object() { };
39 @interface TA { } interface
H A DLambda.java47 return r::<@TA Object, @TB Object>generic;
51 return LambdaImpl::<@TA Object, @TB Object>new;
59 return (@TA Object x, @TB Object y) -> { @TA Object l = null; System.out.println("We have: " + (@TB Object) x); };
62 java.util.function.IntUnaryOperator x = (@TA int y) -> 1;
64 static java.util.function.IntUnaryOperator xx = (@TA int y) -> 1;
67 return (@TA int y) -> 2;
72 @interface TA { } interface
/openjdk10/langtools/test/tools/javac/annotations/typeAnnotations/failures/
H A DTypeVariable.java36 <TV extends @TA Object> TV cast(TV p) {
37 return (@TA TV) p;
42 @interface TA {} interface
H A DTypeAndField.java34 @TA Integer i;
35 @TA int j;
40 @interface TA { } interface
H A DCantAnnotatePackages.java15 @TA java.lang.Object of1;
20 List<@TA java.lang.Object> of2;
21 java. @TA lang.Object of3;
22 List<java. @TA lang.Object> of4;
28 @interface TA { } interface
H A DCheckForDeclAnnoNPE.java38 test(new @TA String().toString());
43 @interface TA {} interface
H A DLazyConstantValue.java40 static final String[] lcv = new @TA String[0];
44 static final Object o = (@TA Object) null;
48 @interface TA {} interface
H A DCantAnnotateScoping.java16 @interface TA {} interface
36 List<Outer. @TA SInner> li;
39 @TA Outer.SInner osi;
41 List<@TA Outer.SInner> aloi;
43 Object o1 = new @TA @DA @TA2 Outer.SInner();
45 Object o = new ArrayList<@TA @DA Outer.SInner>();
47 // Illegal: @TA is only a type-use annotation
48 @TA java.lang.Object f1;
56 // Illegal: @TA and @TA2 are only type-use annotations
57 @DTA @DA @TA
[all...]
H A DTypeVariableCycleTest.java37 <MTV extends @TA CTV> MTV cast(CTV p) {
43 @interface TA {} interface
H A DCheckErrorsForSource7.java61 * the annotation for -source 7. This test first gathers the occurrences of @TA from
79 //gather spans of the @TA annotations into typeAnnotationSpans:
94 ((IdentifierTree) node.getAnnotationType()).getName().contentEquals("TA")) {
177 @interface TA { } interface in class:CheckErrorsForSource7Data
179 Object n1 = new @TA ArrayList<@TA String>();
180 Object n2 = new @TA Object() {};
181 Object [] @TA [] arr @TA[]; field in class:CheckErrorsForSource7Data
182 <T> @TA in
[all...]
/openjdk10/langtools/test/tools/javac/annotations/typeAnnotations/8013180/
H A DQualifiedName.java35 @Target(ElementType.TYPE_USE) @interface TA { } interface in class:QualifiedName
38 void m() throws @TA QualifiedName.@TA E { }
/openjdk10/langtools/test/tools/javac/diags/examples/
H A DCantAnnotateScoping1.java30 @interface TA {} interface in class:CantAnnotateNestedType
37 @TA Outer.Inner f;
40 @TA Outer g;
H A DCantAnnotateScoping.java30 @interface TA {} interface in class:CantAnnotateScoping
39 @TA @TB Outer.Inner f;
42 @TA @TB Outer g;
/openjdk10/langtools/test/tools/javac/annotations/typeAnnotations/failures/common/receiver/
H A DDeclarationAnnotation.java15 void good(@TA DeclarationAnnotation this) {}
21 @interface TA { } interface
/openjdk10/langtools/test/tools/javac/annotations/typeAnnotations/8047024/
H A DT8047024_01.java30 @interface TA {} interface in class:T8047024_01
35 } catch (@TA Throwable e) {
/openjdk10/langtools/test/tools/javac/processing/model/type/
H A DBasicAnnoTests.java400 public @interface TA { interface in class:BasicAnnoTests
418 @Test(posn=0, annoType=TA.class, expect="1")
419 public @TA(1) int f1;
421 @Test(posn=0, annoType=TA.class, expect="11")
422 @TA(11) public int f11;
424 @Test(posn=1, annoType=TA.class, expect="111")
425 @TA(111) public int [] f111;
427 @Test(posn=1, annoType=TA.class, expect="1120")
429 @TA(1120) public int @TB(1121) [] f112;
432 @Test(posn=1, annoType=TA
[all...]
/openjdk10/langtools/test/tools/javac/annotations/typeAnnotations/failures/common/wildcards/
H A DDeclarationAnnotation.java16 List<@TA ? extends Object> good;
22 @interface TA { } interface
/openjdk10/langtools/test/tools/javac/warnings/6747671/
H A DT6747671.java36 @TA B @TA[] arr = new @TA B @TA [0];//JDK-8022567: raw warning (2)
42 @interface TA { } interface in class:T6747671
/openjdk10/jdk/test/java/lang/annotation/typeAnnotations/
H A DTestExecutableGetAnnotatedType.java183 public @interface TA {} interface in class:TestExecutableGetAnnotatedType
200 public static void m10() throws @TA Error, @TB @TC RuntimeException {;}
201 public static @TB long m20(@TC int a, @TA double b) throws @TA Error, @TB @TC RuntimeException { return 0L; }
202 public static @TC Object m30(@TA String s, @TB List l) throws @TA Error, @TB @TC RuntimeException { return null; }
203 public static @TA Object m40(@TB String s, @TC List<@TA String> l) { return null; }
204 public static @TA Object m40(@TB String s, @TC List<@TA Strin
[all...]
/openjdk10/langtools/test/tools/javac/annotations/typeAnnotations/classfile/
H A DAnonymousExtendsTest.java46 public @interface TA { interface in class:AnonymousExtendsTest
50 public class TestClass extends @TA(1) ArrayList<@TA(2) List<Number>> {
55 "[@AnonymousExtendsTest$TA(value=1)],[@AnonymousExtendsTest$TA(value=2)]");
56 checkAnnotations(new @TA(3) ArrayList<@TA(4) List<Number>>() {
58 "[@AnonymousExtendsTest$TA(value=3)],[@AnonymousExtendsTest$TA(value=4)]");
H A DNestedLambdasCastedTest.java64 public @interface TA { interface in class:NestedLambdasCastedTest
69 Runnable one = (@TA("1") Runnable) () -> {
70 Runnable two = (@TA("2") Runnable) () -> {
71 Runnable three = (@TA("3") Runnable) () -> {
72 Runnable four = (@TA("4") Runnable) () -> {

Completed in 100 milliseconds

12