public class LiteralType extends Object
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
primitive |
String |
rawType |
protected Class<?> |
resolvedRawType |
| Modifier and Type | Method and Description |
|---|---|
<R,P> R |
accept(TypeVisitor<R,P> v,
P p) |
TypeKind |
getKind() |
String |
getRawType() |
String |
getTypeParameter() |
boolean |
isArray() |
boolean |
isCollection() |
boolean |
isParametrizedType() |
boolean |
isResolved() |
static LiteralType |
of(String clazzString) |
static LiteralType |
parse(String input) |
protected boolean primitive
public String rawType
protected Class<?> resolvedRawType
public String getTypeParameter()
public boolean isParametrizedType()
public static LiteralType parse(String input)
public boolean isArray()
public static LiteralType of(String clazzString)
public boolean isCollection()
public boolean isResolved()
public String getRawType()
public TypeKind getKind()
public <R,P> R accept(TypeVisitor<R,P> v, P p)
Copyright © 2017. All rights reserved.