public class TypeVariableName extends Object implements ReferenceTypeName
| Modifier and Type | Method and Description |
|---|---|
CodeWriter |
acceptCodeWriter(CodeWriter w) |
String |
acceptJavaFileImportSet(JavaFileImportSet set) |
<R,P> R |
acceptTypeNameVisitor(TypeNameVisitor<R,P> visitor,
P p) |
TypeName |
arrayCreationTypeName() |
CastExpression |
cast(UnaryExpressionNotPlusMinus expression) |
boolean |
isVarArgs() |
static TypeVariableName |
named(String name) |
static TypeVariableName |
of(TypeParameterElement element) |
MethodReference |
ref(String methodName) |
MethodReference |
ref(TypeWitness witness,
String methodName) |
ArrayTypeName |
toArrayTypeName() |
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitisJavaLangObject, isVoid, of, ofUnchecked, toClassName, toClassNameUncheckedisVarArgsacceptCodeWriterpublic static TypeVariableName named(String name)
public static TypeVariableName of(TypeParameterElement element)
public final String acceptJavaFileImportSet(JavaFileImportSet set)
acceptJavaFileImportSet in interface TypeNamepublic final <R,P> R acceptTypeNameVisitor(TypeNameVisitor<R,P> visitor, P p)
acceptTypeNameVisitor in interface TypeNamepublic final TypeName arrayCreationTypeName()
arrayCreationTypeName in interface TypeNamepublic final CastExpression cast(UnaryExpressionNotPlusMinus expression)
cast in interface ReferenceTypeNamepublic final MethodReference ref(String methodName)
ref in interface MethodReferenceReferenceExpressionpublic final MethodReference ref(TypeWitness witness, String methodName)
ref in interface MethodReferenceReferenceExpressionpublic final ArrayTypeName toArrayTypeName()
toArrayTypeName in interface ReferenceTypeNamepublic final CodeWriter acceptCodeWriter(CodeWriter w)
acceptCodeWriter in interface CodeElementpublic final boolean isVarArgs()
isVarArgs in interface ParameterTypeNameCopyright © 2019 Objectos Software LTDA. All rights reserved.