public interface OptionalType extends Type
| Modifier and Type | Interface and Description |
|---|---|
static class |
OptionalType.Impl |
static interface |
OptionalType.Visitor<P,R> |
| Modifier and Type | Method and Description |
|---|---|
default <P,R> R |
accept(Node.Visitor<P,R> visitor,
P par) |
default <P,R> R |
accept(OptionalType.Visitor<P,R> visitor,
P par) |
default <P,R> R |
accept(Type.Visitor<P,R> visitor,
P par) |
Type |
getWrappedType() |
static OptionalType |
of(Type wrappedType) |
void |
setWrappedType(Type wrappedType) |
static OptionalType of(Type wrappedType)
Type getWrappedType()
void setWrappedType(Type wrappedType)
default <P,R> R accept(OptionalType.Visitor<P,R> visitor, P par)
default <P,R> R accept(Type.Visitor<P,R> visitor, P par)
default <P,R> R accept(Node.Visitor<P,R> visitor, P par)