Returns the hash code of this annotation, as defined below:
The hash code of an annotation is the sum of the hash codes
of its members (including those with default values), as defined
below:
The hash code of an annotation member is (127 times the hash code
of the member-name as computed by String.hashCode()
) XOR
the hash code of the member-value, as defined below:
The hash code of a member-value depends on its type:
v
is equal to
WrapperType.valueOf(v).hashCode()
, where
WrapperType
is the wrapper type corresponding
to the primitive type of v
(Byte
,
Character
, Double
, Float
, Integer
,
Long
, Short
, or Boolean
).
v
is computed as by calling
v.hashCode()
. (In the case of annotation
member values, this is a recursive definition.)
Arrays.hashCode
on the value. (There is one overloading for each primitive
type, and one for object reference types.)
Diagram: @Annotations