/openjdk7/langtools/test/tools/javac/annotations/pos/ |
H A D | Primitives.java | 57 check(T1.class.getAnnotation(A.class).value(), void.class); 58 check(T1.class.getAnnotation(B.class).value().length, 1); 59 check(T1.class.getAnnotation(B.class).value()[0], void.class); 61 check(T2.class.getAnnotation(A.class).value(), int.class); 62 check(T2.class.getAnnotation(B.class).value().length, 11); 63 check(T2.class.getAnnotation(B.class).value()[0], void.class); 64 check(T2.class.getAnnotation(B.class).value()[1], byte.class); 65 check(T2.class.getAnnotation(B.class).value()[2], char.class); 66 check(T2.class.getAnnotation(B.class).value()[3], short.class); 67 check(T2.class.getAnnotation( [all...] |
/openjdk7/langtools/test/com/sun/javadoc/testMemberInheritence/pkg/ |
H A D | BaseInterface.java | 32 public <A extends Annotation> A getAnnotation(Class<A> annotationClass); method in interface:BaseInterface
|
H A D | SubClass.java | 30 public <C extends Annotation> C getAnnotation(Class<C> annotationClass) { method in class:SubClass
|
H A D | BaseClass.java | 42 public <B extends Annotation> B getAnnotation(Class<B> annotationClass) { method in class:BaseClass
|
/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/xs/ |
H A D | XSAttributeGroupDefinition.java | 42 public XSAnnotation getAnnotation(); method in interface:XSAttributeGroupDefinition
|
H A D | XSFacet.java | 48 public XSAnnotation getAnnotation(); method in interface:XSFacet
|
H A D | XSModelGroup.java | 60 public XSAnnotation getAnnotation(); method in interface:XSModelGroup
|
H A D | XSModelGroupDefinition.java | 36 public XSAnnotation getAnnotation(); method in interface:XSModelGroupDefinition
|
H A D | XSNotationDeclaration.java | 43 public XSAnnotation getAnnotation(); method in interface:XSNotationDeclaration
|
H A D | XSAttributeDeclaration.java | 105 public XSAnnotation getAnnotation(); method in interface:XSAttributeDeclaration
|
H A D | XSWildcard.java | 84 public XSAnnotation getAnnotation(); method in interface:XSWildcard
|
H A D | XSElementDeclaration.java | 174 public XSAnnotation getAnnotation(); method in interface:XSElementDeclaration
|
/openjdk7/langtools/test/tools/javac/OverrideChecks/6400189/ |
H A D | T6400189a.java | 14 Documented d = c.getAnnotation(Documented.class);
|
/openjdk7/langtools/test/tools/apt/mirror/declaration/ |
H A D | GetAnno.java | 28 * @summary Tests Declaration.getAnnotation method 83 public Annotation getAnnotation() { method in class:GetAnno 84 MethodDeclaration m = getMethod("getAnnotation"); 85 AT1 a = m.getAnnotation(AT1.class); 93 return thisClassDecl.getAnnotation(Deprecated.class); 108 return m.getAnnotation(AT4.class); 115 return m.getAnnotation(AT3.class); 133 AT3 a = m.getAnnotation(AT3.class); 145 return thisClassDecl.getAnnotation(AT2.class); 149 * Verify that an annotation created by Declaration.getAnnotation() [all...] |
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/bind/v2/model/annotation/ |
H A D | Quick.java | 51 protected abstract Annotation getAnnotation(); method in class:Quick 68 return getAnnotation().toString();
|
H A D | XmlElementRefsQuick.java | 44 protected Annotation getAnnotation() { method in class:XmlElementRefsQuick
|
H A D | XmlEnumQuick.java | 43 protected Annotation getAnnotation() { method in class:XmlEnumQuick
|
/openjdk7/jdk/src/share/classes/java/lang/reflect/ |
H A D | AnnotatedElement.java | 87 <T extends Annotation> T getAnnotation(Class<T> annotationClass); method in interface:AnnotatedElement
|
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/xsom/ |
H A D | XSAnnotation.java | 47 Object getAnnotation(); method in interface:XSAnnotation 50 * Sets the value to be returned by {@link #getAnnotation()}.
|
/openjdk7/langtools/test/tools/javac/annotations/neg/ |
H A D | Cycle3.java | 46 A a = Main.class.getAnnotation(A.class);
|
/openjdk7/langtools/test/tools/javac/processing/6634138/ |
H A D | ExerciseDependency.java | 33 Deprecated d = pkg.getAnnotation(Deprecated.class);
|
/openjdk7/langtools/test/tools/javac/processing/model/type/MirroredTypeEx/ |
H A D | Plurality.java | 58 P0 p0 = e.getAnnotation(P0.class); 72 P1 p1 = e.getAnnotation(P1.class); 85 this.getClass().getAnnotation(P1.class).value()); 89 P2 p2 = e.getAnnotation(P2.class); 102 this.getClass().getAnnotation(P2.class).value()); 106 S1 s1 = e.getAnnotation(S1.class); 115 clazzes[0] = this.getClass().getAnnotation(S1.class).value(); 130 clazzes[0] = this.getClass().getAnnotation(S1.class).value();
|
/openjdk7/jdk/test/java/lang/annotation/ |
H A D | PackageMain.java | 31 Deprecated d = p.getAnnotation(Deprecated.class);
|
/openjdk7/langtools/src/share/classes/javax/annotation/processing/ |
H A D | AbstractProcessor.java | 81 SupportedOptions so = this.getClass().getAnnotation(SupportedOptions.class); 98 SupportedAnnotationTypes sat = this.getClass().getAnnotation(SupportedAnnotationTypes.class); 120 SupportedSourceVersion ssv = this.getClass().getAnnotation(SupportedSourceVersion.class);
|
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/tools/internal/jxc/apt/ |
H A D | InlineAnnotationReaderImpl.java | 61 return LocatableAnnotation.create(clazz.getAnnotation(a),srcPos); 65 return LocatableAnnotation.create(f.getAnnotation(a),srcPos); 69 return f.getAnnotation(annotationType)!=null; 73 return clazz.getAnnotation(annotationType)!=null; 81 return LocatableAnnotation.create(method.getAnnotation(a),srcPos); 85 return method.getAnnotation(a)!=null; 105 Annotation annotation = decl.getAnnotation(type); 119 params[paramIndex].getAnnotation(a), srcPos ); 123 return LocatableAnnotation.create(clazz.getPackage().getAnnotation(a),srcPos);
|