public final class JTypeName extends Object
JType into TypeName| Modifier and Type | Field and Description |
|---|---|
static com.squareup.javapoet.WildcardTypeName |
DEFAULT_WILDCARD
Default wildcard : ?
|
| Modifier and Type | Method and Description |
|---|---|
static com.squareup.javapoet.ParameterizedTypeName |
parameterizedName(Class clazz,
com.google.gwt.core.ext.typeinfo.JType... types) |
static com.squareup.javapoet.TypeName |
rawName(boolean boxed,
com.google.gwt.core.ext.typeinfo.JType type) |
static com.squareup.javapoet.TypeName |
rawName(com.google.gwt.core.ext.typeinfo.JType type) |
static com.squareup.javapoet.TypeName |
typeName(boolean boxed,
com.google.gwt.core.ext.typeinfo.JType type) |
static com.squareup.javapoet.TypeName |
typeName(com.google.gwt.core.ext.typeinfo.JType type) |
static com.squareup.javapoet.TypeVariableName |
typeVariableName(com.google.gwt.core.ext.typeinfo.JTypeParameter type) |
public static final com.squareup.javapoet.WildcardTypeName DEFAULT_WILDCARD
public static com.squareup.javapoet.TypeName typeName(com.google.gwt.core.ext.typeinfo.JType type)
type - the typeTypeNamepublic static com.squareup.javapoet.TypeName typeName(boolean boxed,
com.google.gwt.core.ext.typeinfo.JType type)
boxed - true if the primitive should be boxed. Useful when use in a parameterized type.type - the typeTypeNamepublic static com.squareup.javapoet.ParameterizedTypeName parameterizedName(Class clazz, com.google.gwt.core.ext.typeinfo.JType... types)
clazz - the raw typetypes - the parametersParameterizedTypeNamepublic static com.squareup.javapoet.TypeName rawName(com.google.gwt.core.ext.typeinfo.JType type)
type - type to convertTypeName without parameterpublic static com.squareup.javapoet.TypeName rawName(boolean boxed,
com.google.gwt.core.ext.typeinfo.JType type)
boxed - true if the primitive should be boxed. Useful when use in a parameterized type.type - type to convertTypeName without parameterpublic static com.squareup.javapoet.TypeVariableName typeVariableName(com.google.gwt.core.ext.typeinfo.JTypeParameter type)
type - type to convertTypeVariableNameCopyright © 2016. All Rights Reserved.