public final class AnnotationValues extends Object
AnnotationValue
instances.Modifier and Type | Method | Description |
---|---|---|
static com.google.common.base.Equivalence<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<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 © 2019 Google, Inc.. All rights reserved.