Class Annotations.Builder.Element

java.lang.Object
gw.lang.annotation.Annotations.Builder.Element
Enclosing class:
Annotations.Builder<T extends Annotation>

private static class Annotations.Builder.Element extends Object
  • Field Details

    • _value

      private final Object _value
    • _arrayLength

      private final int _arrayLength
    • _componentType

      private final Class<?> _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

      boolean valueEquals(Object otherValue)
    • valueHashCode

      int valueHashCode()
    • valueToString

      void valueToString(StringBuilder buf)
    • isArray

      private boolean isArray()
    • copyValueIfNecessary

      private static Object copyValueIfNecessary(Object value, int arrayLength, Class<?> componentType)