@Immutable public class AnnotationDeclaration extends Object
annotation :== {tag} ('=' {value})?
annotations :== '(' {annotation} (',' {annotation})* ')'
| Constructor and Description |
|---|
AnnotationDeclaration(ThriftToken tagToken,
ThriftToken valueToken) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
net.morimekta.providence.descriptor.PAnnotation |
getAnnotation() |
String |
getTag() |
ThriftToken |
getTagToken() |
String |
getValue() |
ThriftToken |
getValueToken() |
int |
hashCode() |
String |
toString() |
public AnnotationDeclaration(@Nonnull ThriftToken tagToken, @Nullable ThriftToken valueToken)
public net.morimekta.providence.descriptor.PAnnotation getAnnotation()
public String getTag()
public String getValue()
public ThriftToken getTagToken()
public ThriftToken getValueToken()
Copyright © 2015–2020 morimekta.net. All rights reserved.