public class TsonAnnotationImpl extends Object implements TsonAnnotation
| Constructor and Description |
|---|
TsonAnnotationImpl(String name,
UnmodifiableArrayList<TsonElement> params) |
| Modifier and Type | Method and Description |
|---|---|
TsonAnnotationBuilder |
builder() |
List<TsonElement> |
children()
like params but never null
|
int |
compareTo(TsonAnnotation o) |
boolean |
equals(Object o) |
int |
hashCode() |
boolean |
isNamed() |
boolean |
isParametrized() |
String |
name() |
TsonElement |
param(int index) |
TsonElementList |
params() |
int |
size() |
String |
toString(boolean compact) |
public TsonAnnotationImpl(String name, UnmodifiableArrayList<TsonElement> params)
public boolean isParametrized()
isParametrized in interface TsonAnnotationpublic boolean isNamed()
isNamed in interface TsonAnnotationpublic TsonAnnotationBuilder builder()
builder in interface TsonAnnotationpublic String name()
name in interface TsonAnnotationpublic TsonElementList params()
params in interface TsonAnnotationpublic int size()
size in interface TsonAnnotationpublic TsonElement param(int index)
param in interface TsonAnnotationpublic List<TsonElement> children()
TsonAnnotationchildren in interface TsonAnnotationpublic int compareTo(TsonAnnotation o)
compareTo in interface Comparable<TsonAnnotation>public String toString(boolean compact)
toString in interface TsonAnnotationCopyright © 2025 vpc open source initiative. All rights reserved.