floatValue

Match the annotation element value as the specified Float. Because floating-point numbers are affected by precision, so abs(value - realValue) < 1e-6 will match successfully.

匹配元素值为指定 Float 的注解。由于浮点数受到精度影响,所以 abs(value - realValue) < 1e-6 时会匹配成功。

Return

AnnotationElementMatcher

Parameters

value

float value / 浮点型