private void addValue(String name, ValueDescriptor<?> value) {
        if (arrayValueDescriptor != null && name == null) {
            getArrayValue().add(value);
        } else {
            setValue(descriptor, value);
        }
    }
private void addValue ( String name , ValueDescriptor < ? > value ) { if ( arrayValueDescriptor != null && name == null ) { getArrayValue ( ) . add ( value ) ; } else { setValue ( descriptor , value ) ; } }
Add the descriptor as value to the current annotation or array value.

@param name
The name.
@param value
The value.