Searched refs:AnnotationValue (Results 1 - 25 of 40) sorted by relevance

12

/openjdk10/langtools/src/jdk.javadoc/share/classes/com/sun/javadoc/
H A DAnnotationTypeElementDoc.java49 AnnotationValue defaultValue();
H A DAnnotationValue.java41 public interface AnnotationValue { interface
51 * <li> {@code AnnotationValue[]}
H A DAnnotationDesc.java95 AnnotationValue value();
/openjdk10/langtools/test/tools/javac/classfiles/attributes/annotations/
H A DWorkAnnotations.java43 AnnotationValue annoValue() default @AnnotationValue(stringValue = "StringValue"); field in interface:RuntimeInvisibleRepeatable
44 AnnotationValue[] annoArrayValue() default
45 {@AnnotationValue(stringValue = "StringValue1"),
46 @AnnotationValue(stringValue = "StringValue2"),
47 @AnnotationValue(stringValue = "StringValue3")};
70 AnnotationValue annoValue() default @AnnotationValue(stringValue = "StringValue"); field in interface:RuntimeInvisibleNotRepeatable
71 AnnotationValue[] annoArrayValue() default
72 {@AnnotationValue(stringValu
94 AnnotationValue annoValue() default @AnnotationValue(stringValue = "StringValue"); field in interface:RuntimeVisibleRepeatable
122 AnnotationValue annoValue() default @AnnotationValue(stringValue = "StringValue"); field in interface:RuntimeVisibleNotRepeatable
133 @interface AnnotationValue { interface
[all...]
/openjdk10/langtools/src/java.compiler/share/classes/javax/lang/model/element/
H A DUnknownAnnotationValueException.java48 private transient AnnotationValue av;
62 public UnknownAnnotationValueException(AnnotationValue av, Object p) {
75 public AnnotationValue getUnknownAnnotationValue() {
H A DAnnotationMirror.java73 Map<? extends ExecutableElement, ? extends AnnotationValue> getElementValues();
H A DAnnotationValue.java36 * <li> {@code List<? extends AnnotationValue>}
45 public interface AnnotationValue { interface
H A DAnnotationValueVisitor.java43 * passed to a value's {@link AnnotationValue#accept accept} method,
90 R visit(AnnotationValue av, P p);
100 default R visit(AnnotationValue av) {
206 R visitArray(List<? extends AnnotationValue> vals, P p);
218 R visitUnknown(AnnotationValue av, P p);
H A DExecutableElement.java127 AnnotationValue getDefaultValue();
/openjdk10/langtools/src/java.compiler/share/classes/javax/lang/model/util/
H A DAbstractAnnotationValueVisitor6.java83 * value's {@link AnnotationValue#accept accept}. The invocation
88 public final R visit(AnnotationValue av, P p) {
94 * value's {@link AnnotationValue#accept accept} method passing
100 public final R visit(AnnotationValue av) {
116 public R visitUnknown(AnnotationValue av, P p) {
H A DSimpleAnnotationValueVisitor6.java267 public R visitArray(List<? extends AnnotationValue> vals, P p) {
/openjdk10/hotspot/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.replacements.verifier/src/org/graalvm/compiler/replacements/verifier/
H A DAbstractVerifier.java32 import javax.lang.model.element.AnnotationValue;
51 protected static <T> T resolveAnnotationValue(Class<T> expectedType, AnnotationValue value) {
57 List<AnnotationValue> l = (List<AnnotationValue>) value.getValue();
58 for (AnnotationValue el : l) {
79 protected static AnnotationValue findAnnotationValue(AnnotationMirror mirror, String name) {
92 AnnotationValue value = mirror.getElementValues().get(valueMethod);
H A DClassSubstitutionVerifier.java29 import javax.lang.model.element.AnnotationValue;
69 AnnotationValue typeValue = findAnnotationValue(classSubstition, TYPE_VALUE);
70 AnnotationValue stringValue = findAnnotationValue(classSubstition, STRING_VALUE);
71 AnnotationValue optionalValue = findAnnotationValue(classSubstition, OPTIONAL);
/openjdk10/langtools/test/tools/javac/processing/messager/6388543/
H A DT6388543.java4 * @summary improve accuracy of source positions for AnnotationValue param of Messager.printMessage
17 import javax.lang.model.element.AnnotationValue;
71 for (AnnotationValue v : a.getElementValues().values()) {
79 private void printValue(Element e, AnnotationMirror a, AnnotationValue v) {
84 public Void visitArray(List<? extends AnnotationValue> values, Void unused) {
85 for (AnnotationValue value : values) {
93 for (AnnotationValue value : nestedAnnotation.getElementValues().values()) {
/openjdk10/langtools/test/tools/javac/processing/model/
H A DTestExceptions.java45 new UnknownAnnotationValueException((AnnotationValue) null, (Object) null),
H A DTestVisitorDefaults.java183 public String visit(AnnotationValue av) {
188 public String visit(AnnotationValue av, Object o) {
195 public String visitArray(List<? extends AnnotationValue> vals,
220 public String visitUnknown(AnnotationValue av, Object o) { return throwUOE(); }
/openjdk10/langtools/src/jdk.javadoc/share/classes/com/sun/tools/javadoc/main/
H A DAnnotationTypeElementDocImpl.java86 public AnnotationValue defaultValue() {
H A DAnnotationValueImpl.java47 public class AnnotationValueImpl implements AnnotationValue {
66 * <li> <code>AnnotationValue[]</code>
102 AnnotationValue vals[] = new AnnotationValue[a.values.length];
/openjdk10/langtools/src/java.compiler/share/classes/javax/annotation/processing/
H A DMessager.java100 AnnotationValue v);
/openjdk10/langtools/test/tools/javac/processing/messager/6362067/
H A DT6362067.java27 for (AnnotationValue v: a.getElementValues().values()) {
/openjdk10/langtools/src/jdk.compiler/share/classes/com/sun/source/util/
H A DTrees.java32 import javax.lang.model.element.AnnotationValue;
133 * Returns the Tree node for an AnnotationValue for an AnnotationMirror on a given Element.
140 public abstract Tree getTree(Element e, AnnotationMirror a, AnnotationValue v);
168 * Returns the TreePath node for an AnnotationValue for an AnnotationMirror on a given Element.
175 public abstract TreePath getPath(Element e, AnnotationMirror a, AnnotationValue v);
/openjdk10/langtools/src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/
H A DAnnotationTypeOptionalMemberWriterImpl.java31 import javax.lang.model.element.AnnotationValue;
95 AnnotationValue value = ee.getDefaultValue();
H A DHtmlDocletWriter.java34 import javax.lang.model.element.AnnotationValue;
2367 Map<? extends ExecutableElement, ? extends AnnotationValue> pairs = aDesc.getElementValues();
2371 AnnotationValue annotationValue = pairs.get(ee);
2372 List<AnnotationValue> annotationTypeValues = new ArrayList<>();
2374 new SimpleAnnotationValueVisitor9<Void, List<AnnotationValue>>() {
2376 public Void visitArray(List<? extends AnnotationValue> vals, List<AnnotationValue> p) {
2382 protected Void defaultAction(Object o, List<AnnotationValue> p) {
2389 for (AnnotationValue av : annotationTypeValues) {
2400 List<AnnotationValue> annotationTypeValue
2446 addAnnotations(TypeElement annotationDoc, LinkInfoImpl linkInfo, ContentBuilder annotation, Map<? extends ExecutableElement,? extends AnnotationValue>map, int indent, boolean linkBreak) argument
[all...]
/openjdk10/langtools/test/tools/javac/tree/
H A DNoPrivateTypesExported.java42 import javax.lang.model.element.AnnotationValue;
184 for (AnnotationValue value : mirror.getElementValues().values()) {
190 private void verifyAnnotationValue(AnnotationValue value,
202 @Override public Void visitArray(List<? extends AnnotationValue> vals,
204 for (AnnotationValue val : vals) {
210 error("Unexpected AnnotationValue: " + o.toString());
/openjdk10/langtools/test/tools/javac/processing/model/type/
H A DBasicAnnoTests.java57 import javax.lang.model.element.AnnotationValue;
227 AnnotationValue v = getValue(test, "posn");
248 AnnotationValue v = getValue(test, "expect");
254 AnnotationValue v = getValue(test, "annoType");
294 static AnnotationValue getValue(AnnotationMirror anno, String name) {
295 Map<? extends ExecutableElement, ? extends AnnotationValue> map = anno.getElementValues();
296 for (Map.Entry<? extends ExecutableElement, ? extends AnnotationValue> e: map.entrySet()) {

Completed in 211 milliseconds

12