/openjdk10/langtools/src/jdk.javadoc/share/classes/com/sun/javadoc/ |
H A D | AnnotationTypeElementDoc.java | 49 AnnotationValue defaultValue();
|
H A D | AnnotationValue.java | 41 public interface AnnotationValue { interface 51 * <li> {@code AnnotationValue[]}
|
H A D | AnnotationDesc.java | 95 AnnotationValue value();
|
/openjdk10/langtools/test/tools/javac/classfiles/attributes/annotations/ |
H A D | WorkAnnotations.java | 43 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 D | UnknownAnnotationValueException.java | 48 private transient AnnotationValue av; 62 public UnknownAnnotationValueException(AnnotationValue av, Object p) { 75 public AnnotationValue getUnknownAnnotationValue() {
|
H A D | AnnotationMirror.java | 73 Map<? extends ExecutableElement, ? extends AnnotationValue> getElementValues();
|
H A D | AnnotationValue.java | 36 * <li> {@code List<? extends AnnotationValue>} 45 public interface AnnotationValue { interface
|
H A D | AnnotationValueVisitor.java | 43 * 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 D | ExecutableElement.java | 127 AnnotationValue getDefaultValue();
|
/openjdk10/langtools/src/java.compiler/share/classes/javax/lang/model/util/ |
H A D | AbstractAnnotationValueVisitor6.java | 83 * 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 D | SimpleAnnotationValueVisitor6.java | 267 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 D | AbstractVerifier.java | 32 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 D | ClassSubstitutionVerifier.java | 29 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 D | T6388543.java | 4 * @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 D | TestExceptions.java | 45 new UnknownAnnotationValueException((AnnotationValue) null, (Object) null),
|
H A D | TestVisitorDefaults.java | 183 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 D | AnnotationTypeElementDocImpl.java | 86 public AnnotationValue defaultValue() {
|
H A D | AnnotationValueImpl.java | 47 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 D | Messager.java | 100 AnnotationValue v);
|
/openjdk10/langtools/test/tools/javac/processing/messager/6362067/ |
H A D | T6362067.java | 27 for (AnnotationValue v: a.getElementValues().values()) {
|
/openjdk10/langtools/src/jdk.compiler/share/classes/com/sun/source/util/ |
H A D | Trees.java | 32 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 D | AnnotationTypeOptionalMemberWriterImpl.java | 31 import javax.lang.model.element.AnnotationValue; 95 AnnotationValue value = ee.getDefaultValue();
|
H A D | HtmlDocletWriter.java | 34 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 D | NoPrivateTypesExported.java | 42 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 D | BasicAnnoTests.java | 57 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()) {
|