@Test public void extraValues() { TypeElement multipleValues = getTypeElement(MultipleValues.class); Map<String, AnnotationValue> values = new HashMap<>(); values.put("value1", intValue(1)); values.put("value2", intValue(2)); values.put("value3", intValue(3)); expectThrows(() -> SimpleAnnotationMirror.of(multipleValues, values)); }
public static AnnotationMirror of(TypeElement annotationType) { return of(annotationType, ImmutableMap.of()); }
SimpleAnnotationMirror implements AnnotationMirror { public static AnnotationMirror of(TypeElement annotationType) { return of(annotationType, ImmutableMap.of()); } }
SimpleAnnotationMirror implements AnnotationMirror { public static AnnotationMirror of(TypeElement annotationType) { return of(annotationType, ImmutableMap.of()); } private  SimpleAnnotationMirror(
      TypeElement annotationType, Map<String, ? extends AnnotationValue> namedValues); }
SimpleAnnotationMirror implements AnnotationMirror { public static AnnotationMirror of(TypeElement annotationType) { return of(annotationType, ImmutableMap.of()); } private  SimpleAnnotationMirror(
      TypeElement annotationType, Map<String, ? extends AnnotationValue> namedValues); static AnnotationMirror of(TypeElement annotationType); static AnnotationMirror of(
      TypeElement annotationType, Map<String, ? extends AnnotationValue> namedValues); @Override DeclaredType getAnnotationType(); @Override Map<ExecutableElement, ? extends AnnotationValue> getElementValues(); @Override String toString(); @Override boolean equals(Object other); @Override int hashCode(); }
SimpleAnnotationMirror implements AnnotationMirror { public static AnnotationMirror of(TypeElement annotationType) { return of(annotationType, ImmutableMap.of()); } private  SimpleAnnotationMirror(
      TypeElement annotationType, Map<String, ? extends AnnotationValue> namedValues); static AnnotationMirror of(TypeElement annotationType); static AnnotationMirror of(
      TypeElement annotationType, Map<String, ? extends AnnotationValue> namedValues); @Override DeclaredType getAnnotationType(); @Override Map<ExecutableElement, ? extends AnnotationValue> getElementValues(); @Override String toString(); @Override boolean equals(Object other); @Override int hashCode();  }