public class TypeSignatureParameter extends Object
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
ParameterKind |
getKind() |
Long |
getLongLiteral() |
NamedTypeSignature |
getNamedTypeSignature() |
TypeSignature |
getTypeSignature() |
Optional<TypeSignature> |
getTypeSignatureOrNamedTypeSignature() |
String |
getVariable() |
int |
hashCode() |
boolean |
isCalculated() |
boolean |
isLongLiteral() |
boolean |
isNamedTypeSignature() |
boolean |
isTypeSignature() |
boolean |
isVariable() |
static TypeSignatureParameter |
of(long longLiteral) |
static TypeSignatureParameter |
of(NamedTypeSignature namedTypeSignature) |
static TypeSignatureParameter |
of(String variable) |
static TypeSignatureParameter |
of(TypeSignature typeSignature) |
String |
toString() |
public static TypeSignatureParameter of(TypeSignature typeSignature)
public static TypeSignatureParameter of(long longLiteral)
public static TypeSignatureParameter of(NamedTypeSignature namedTypeSignature)
public static TypeSignatureParameter of(String variable)
public ParameterKind getKind()
public boolean isTypeSignature()
public boolean isLongLiteral()
public boolean isNamedTypeSignature()
public boolean isVariable()
public TypeSignature getTypeSignature()
public Long getLongLiteral()
public NamedTypeSignature getNamedTypeSignature()
public String getVariable()
public Optional<TypeSignature> getTypeSignatureOrNamedTypeSignature()
public boolean isCalculated()
Copyright © 2012–2020. All rights reserved.