public class TypeParameter extends Object
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
ParameterKind |
getKind() |
BigintEnumType.LongEnumMap |
getLongEnumMap() |
Long |
getLongLiteral() |
NamedType |
getNamedType() |
Type |
getType() |
<A> A |
getValue(ParameterKind expectedParameterKind,
Class<A> target) |
VarcharEnumType.VarcharEnumMap |
getVarcharEnumMap() |
String |
getVariable() |
int |
hashCode() |
boolean |
isLongLiteral() |
static TypeParameter |
of(BigintEnumType.LongEnumMap enumMap) |
static TypeParameter |
of(long longLiteral) |
static TypeParameter |
of(NamedType namedType) |
static TypeParameter |
of(String variable) |
static TypeParameter |
of(Type type) |
static TypeParameter |
of(TypeSignatureParameter parameter,
TypeManager typeManager) |
static TypeParameter |
of(VarcharEnumType.VarcharEnumMap enumMap) |
String |
toString() |
public static TypeParameter of(Type type)
public static TypeParameter of(long longLiteral)
public static TypeParameter of(NamedType namedType)
public static TypeParameter of(String variable)
public static TypeParameter of(BigintEnumType.LongEnumMap enumMap)
public static TypeParameter of(VarcharEnumType.VarcharEnumMap enumMap)
public static TypeParameter of(TypeSignatureParameter parameter, TypeManager typeManager)
public ParameterKind getKind()
public <A> A getValue(ParameterKind expectedParameterKind, Class<A> target)
public boolean isLongLiteral()
public Type getType()
public Long getLongLiteral()
public BigintEnumType.LongEnumMap getLongEnumMap()
public VarcharEnumType.VarcharEnumMap getVarcharEnumMap()
public NamedType getNamedType()
public String getVariable()
Copyright © 2012–2022. All rights reserved.