public abstract class TypeInfo extends Object
Modifier and Type | Class and Description |
---|---|
static class |
TypeInfo.Class |
static class |
TypeInfo.Factory |
static class |
TypeInfo.Parameterized |
static class |
TypeInfo.Primitive |
static class |
TypeInfo.Variable |
static class |
TypeInfo.Void |
static class |
TypeInfo.Wildcard
Simple wildcard without bound support.
|
Constructor and Description |
---|
TypeInfo() |
Modifier and Type | Method and Description |
---|---|
void |
collectImports(Collection<TypeInfo.Class> imports)
Collect the import fqcn needed by this type.
|
static TypeInfo |
create(Type type) |
abstract boolean |
equals(Object obj) |
TypeInfo |
getErased() |
ClassKind |
getKind() |
String |
getName() |
TypeInfo.Class |
getRaw() |
String |
getSimpleName() |
int |
hashCode() |
String |
toString() |
String |
translateName(String lang)
Translate the current type name based on the module group package name and the specified
lang parameter. |
public void collectImports(Collection<TypeInfo.Class> imports)
imports
- the importspublic TypeInfo getErased()
public TypeInfo.Class getRaw()
public ClassKind getKind()
public String getName()
io.vertx.core.Handler<io.vertx.core.buffer.Buffer>
public String translateName(String lang)
lang
parameter. This has effect only for TypeInfo.Class.Api
or
TypeInfo.Parameterized
types.lang
- the target language, for instance groovypublic String getSimpleName()
Handler<Buffer>
Copyright © 2015. All Rights Reserved.