Searched refs:annoType (Results 1 - 8 of 8) sorted by relevance
/openjdk9/langtools/src/jdk.compiler/share/classes/com/sun/tools/javac/code/ |
H A D | AnnoConstruct.java | 62 protected <A extends Annotation> Attribute.Compound getAttribute(Class<A> annoType) { argument 63 String name = annoType.getName(); 75 protected <A extends Annotation> A[] getInheritedAnnotations(Class<A> annoType) { argument 76 return (A[]) java.lang.reflect.Array.newInstance(annoType, 0); // annoType is the Class for A 82 public <A extends Annotation> A[] getAnnotationsByType(Class<A> annoType) { argument 84 if (!annoType.isAnnotation()) 86 + annoType); 87 // If annoType does not declare a container this is equivalent to wrapping 89 Class <? extends Annotation> containerType = getContainer(annoType); 179 getAnnotation(Class<A> annoType) argument 189 getContainer(Class<? extends Annotation> annoType) argument [all...] |
H A D | Symbol.java | 876 public <A extends Annotation> Attribute.Compound getAttribute(Class<A> annoType) { argument 877 String name = annoType.getName(); 1370 protected <A extends Annotation> A[] getInheritedAnnotations(Class<A> annoType) { argument 1374 return sup == null ? super.getInheritedAnnotations(annoType) 1375 : sup.getAnnotationsByType(annoType); 1413 protected <A extends Annotation> Attribute.Compound getAttribute(final Class<A> annoType) { argument 1415 Attribute.Compound attrib = super.getAttribute(annoType); 1417 boolean inherited = annoType.isAnnotationPresent(Inherited.class); 1424 : superType.getAttribute(annoType);
|
/openjdk9/langtools/test/tools/javac/processing/model/type/ |
H A D | BasicAnnoTests.java | 174 String annoType = getAnnoType(test); 175 AnnotationMirror anno = getAnnotation(t, annoType); 252 /** Get the annoType value from an @Test annotation mirror. */ 254 AnnotationValue v = getValue(test, "annoType"); 389 Class<? extends Annotation> annoType(); method in interface:BasicAnnoTests.Test 418 @Test(posn=0, annoType=TA.class, expect="1") 421 @Test(posn=0, annoType=TA.class, expect="11") 424 @Test(posn=1, annoType=TA.class, expect="111") 427 @Test(posn=1, annoType=TA.class, expect="1120") 428 @Test(posn=0, annoType [all...] |
/openjdk9/langtools/test/tools/javac/6341866/ |
H A D | T6341866.java | 80 for (AnnoType annoType: EnumSet.allOf(AnnoType.class)) { 81 ok &= test(implicitType, annoType); 93 static boolean test(ImplicitType implicitType, AnnoType annoType) throws IOException { argument 94 System.err.println("test implicit=" + implicitType + " anno=" + annoType); 106 switch (annoType) { 147 switch (annoType) {
|
/openjdk9/langtools/src/jdk.compiler/share/classes/com/sun/tools/javac/model/ |
H A D | AnnotationProxyMaker.java | 65 private final Class<? extends Annotation> annoType; field in class:AnnotationProxyMaker 69 Class<? extends Annotation> annoType) { 71 this.annoType = annoType; 79 Attribute.Compound anno, Class<A> annoType) { 80 AnnotationProxyMaker apm = new AnnotationProxyMaker(anno, annoType); 81 return annoType.cast(apm.generateAnnotation()); 89 return AnnotationParser.annotationForMap(annoType, 162 method = annoType.getMethod(meth.name.toString()); 68 AnnotationProxyMaker(Attribute.Compound anno, Class<? extends Annotation> annoType) argument 78 generateAnnotation( Attribute.Compound anno, Class<A> annoType) argument
|
/openjdk9/jdk/src/java.base/share/classes/sun/reflect/annotation/ |
H A D | AnnotationSupport.java | 191 AnnotationType annoType = AnnotationType.getInstance(containerClass); 192 if (annoType == null) 194 Method m = annoType.members().get("value");
|
/openjdk9/jdk/test/java/lang/annotation/ |
H A D | UnitTest.java | 3468 static <T extends Annotation> void checkEquals(AnnotatedElement e1, AnnotatedElement e2, Class<T> annoType) { argument 3470 T a1 = e1.getAnnotation(annoType); 3471 T a2 = e2.getAnnotation(annoType); 3484 static <T extends Annotation> void checkUnequals(AnnotatedElement e1, AnnotatedElement e2, Class<T> annoType) { argument 3486 T a1 = e1.getAnnotation(annoType); 3487 T a2 = e2.getAnnotation(annoType); 3502 static <T extends Annotation> void checkSerialization(AnnotatedElement e, Class<T> annoType) { argument 3504 T a1 = e.getAnnotation(annoType);
|
/openjdk9/langtools/src/jdk.compiler/share/classes/com/sun/tools/javac/comp/ |
H A D | Attr.java | 2037 JCAnnotatedType annoType = (JCAnnotatedType) clazz; 2038 List<JCAnnotation> annos = annoType.annotations; 2040 if (annoType.underlyingType.hasTag(TYPEAPPLY)) {
|
Completed in 126 milliseconds