public class ArrayAnnotationValue extends Object implements PersistentAnnotationValue, AnnotationValueCollection
| Constructor and Description |
|---|
ArrayAnnotationValue() |
ArrayAnnotationValue(PersistentAnnotationValue[] annotationValues) |
| Modifier and Type | Method and Description |
|---|---|
List<PersistentAnnotationValue> |
getValues() |
void |
put(String key,
PersistentAnnotationValue value)
Adds an annotation value to the array.
|
static ArrayAnnotationValue |
read(TaggedDataInput in) |
List<? extends AnnotationValue> |
toList() |
String |
toString() |
void |
write(TaggedDataOutput out) |
public ArrayAnnotationValue()
public ArrayAnnotationValue(PersistentAnnotationValue[] annotationValues)
public void put(String key, PersistentAnnotationValue value)
put in interface AnnotationValueCollectionkey - ignoredvalue - the annotation valuepublic List<PersistentAnnotationValue> getValues()
@NotNull public List<? extends AnnotationValue> toList()
toList in interface AnnotationValuepublic void write(TaggedDataOutput out) throws IOException
write in interface TaggedPersistentIOExceptionpublic static ArrayAnnotationValue read(TaggedDataInput in) throws IOException
IOExceptionCopyright © 2024 OpenClover.org. All rights reserved.