Package gw.lang.annotation
Class Annotations.Builder.Element
java.lang.Object
gw.lang.annotation.Annotations.Builder.Element
- Enclosing class:
- Annotations.Builder<T extends Annotation>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static Object
copyValueIfNecessary
(Object value, int arrayLength, Class<?> componentType) (package private) Object
getValue()
Protects a value from outside modification.private boolean
isArray()
(package private) boolean
valueEquals
(Object otherValue) (package private) int
(package private) void
-
Field Details
-
_value
-
_arrayLength
private final int _arrayLength -
_componentType
-
-
Constructor Details
-
Element
Element(Object value)
-
-
Method Details
-
getValue
Object getValue()Protects a value from outside modification. Incoming and outgoing values must be copied if necessary in order to preserve the contract of annotations. -
valueEquals
-
valueHashCode
int valueHashCode() -
valueToString
-
isArray
private boolean isArray() -
copyValueIfNecessary
-