public abstract class ParameterizedTypeName extends Object implements ClassNameOrParameterizedTypeName
| Modifier and Type | Method and Description |
|---|---|
CodeWriter |
acceptCodeWriter(CodeWriter w) |
String |
acceptJavaFileImportSet(JavaFileImportSet set) |
<R,P> R |
acceptTypeNameVisitor(TypeNameVisitor<R,P> visitor,
P p) |
CastExpression |
cast(UnaryExpressionNotPlusMinus expression) |
boolean |
equals(Object obj) |
abstract int |
hashCode() |
static ParameterizedTypeName |
of(ClassName className,
TypeName typeArgument) |
MethodReference |
ref(String methodName) |
MethodReference |
ref(TypeWitness witness,
String methodName) |
String |
toString() |
ParameterizedTypeName |
withTypeArgument(TypeName typeName) |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitnoType, toArrayTypeName, withTypeArgument, withTypeArgument, withTypeArguments, withTypeArgumentsarrayCreationTypeName, isJavaLangObject, isVoid, of, ofUnchecked, toClassName, toClassNameUncheckedpublic static ParameterizedTypeName of(ClassName className, TypeName typeArgument)
public final CodeWriter acceptCodeWriter(CodeWriter w)
acceptCodeWriter in interface CodeElementpublic 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 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 ParameterizedTypeName withTypeArgument(TypeName typeName)
withTypeArgument in interface ClassNameOrParameterizedTypeNameCopyright © 2019 Objectos Software LTDA. All rights reserved.