public class TypeParameter extends Object
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
ParameterKind |
getKind() |
Long |
getLongLiteral() |
NamedType |
getNamedType() |
Type |
getType() |
<A> A |
getValue(ParameterKind expectedParameterKind,
Class<A> target) |
String |
getVariable() |
int |
hashCode() |
boolean |
isLongLiteral() |
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) |
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(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 NamedType getNamedType()
public String getVariable()
Copyright © 2012–2020. All rights reserved.