public class TsonAnnotationImpl extends Object implements TsonAnnotation
| Constructor and Description |
|---|
TsonAnnotationImpl(String name,
List<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() |
net.thevpc.nuts.util.NOptional<String> |
name() |
TsonElement |
param(int index) |
List<TsonElement> |
params() |
int |
size() |
String |
toString(boolean compact) |
public TsonAnnotationImpl(String name, List<TsonElement> params)
public boolean isParametrized()
isParametrized in interface TsonAnnotationpublic boolean isNamed()
isNamed in interface TsonAnnotationpublic TsonAnnotationBuilder builder()
builder in interface TsonAnnotationpublic net.thevpc.nuts.util.NOptional<String> name()
name in interface TsonAnnotationpublic List<TsonElement> 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.