public final class AnnotationValues
extends java.lang.Object
AnnotationValue instances.| Modifier and Type | Method and Description |
|---|---|
static com.google.common.base.Equivalence<javax.lang.model.element.AnnotationValue> |
equivalence()
Returns an
Equivalence for AnnotationValue as annotation values may
contain AnnotationMirror instances some of whose implementations delegate
equality tests to Object.equals(java.lang.Object) whereas the documentation explicitly states
that instance/reference equality is not the proper test. |
public static com.google.common.base.Equivalence<javax.lang.model.element.AnnotationValue> equivalence()
Equivalence for AnnotationValue as annotation values may
contain AnnotationMirror instances some of whose implementations delegate
equality tests to Object.equals(java.lang.Object) whereas the documentation explicitly states
that instance/reference equality is not the proper test.AnnotationMirrors.equivalence()Copyright © 2018 Google, Inc.. All Rights Reserved.