Searched refs:getAnnotation (Results 1 - 25 of 129) sorted by relevance

123456

/openjdk7/langtools/test/tools/javac/annotations/pos/
H A DPrimitives.java57 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 DBaseInterface.java32 public <A extends Annotation> A getAnnotation(Class<A> annotationClass); method in interface:BaseInterface
H A DSubClass.java30 public <C extends Annotation> C getAnnotation(Class<C> annotationClass) { method in class:SubClass
H A DBaseClass.java42 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 DXSAttributeGroupDefinition.java42 public XSAnnotation getAnnotation(); method in interface:XSAttributeGroupDefinition
H A DXSFacet.java48 public XSAnnotation getAnnotation(); method in interface:XSFacet
H A DXSModelGroup.java60 public XSAnnotation getAnnotation(); method in interface:XSModelGroup
H A DXSModelGroupDefinition.java36 public XSAnnotation getAnnotation(); method in interface:XSModelGroupDefinition
H A DXSNotationDeclaration.java43 public XSAnnotation getAnnotation(); method in interface:XSNotationDeclaration
H A DXSAttributeDeclaration.java105 public XSAnnotation getAnnotation(); method in interface:XSAttributeDeclaration
H A DXSWildcard.java84 public XSAnnotation getAnnotation(); method in interface:XSWildcard
H A DXSElementDeclaration.java174 public XSAnnotation getAnnotation(); method in interface:XSElementDeclaration
/openjdk7/langtools/test/tools/javac/OverrideChecks/6400189/
H A DT6400189a.java14 Documented d = c.getAnnotation(Documented.class);
/openjdk7/langtools/test/tools/apt/mirror/declaration/
H A DGetAnno.java28 * @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 DQuick.java51 protected abstract Annotation getAnnotation(); method in class:Quick
68 return getAnnotation().toString();
H A DXmlElementRefsQuick.java44 protected Annotation getAnnotation() { method in class:XmlElementRefsQuick
H A DXmlEnumQuick.java43 protected Annotation getAnnotation() { method in class:XmlEnumQuick
/openjdk7/jdk/src/share/classes/java/lang/reflect/
H A DAnnotatedElement.java87 <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 DXSAnnotation.java47 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 DCycle3.java46 A a = Main.class.getAnnotation(A.class);
/openjdk7/langtools/test/tools/javac/processing/6634138/
H A DExerciseDependency.java33 Deprecated d = pkg.getAnnotation(Deprecated.class);
/openjdk7/langtools/test/tools/javac/processing/model/type/MirroredTypeEx/
H A DPlurality.java58 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 DPackageMain.java31 Deprecated d = p.getAnnotation(Deprecated.class);
/openjdk7/langtools/src/share/classes/javax/annotation/processing/
H A DAbstractProcessor.java81 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 DInlineAnnotationReaderImpl.java61 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);

Completed in 303 milliseconds

123456