public class NoTypeName extends Object implements ClassNameOrParameterizedTypeName
| Modifier and Type | Method and Description |
|---|---|
static NoTypeName |
_void() |
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 |
isVoid() |
MethodReference |
ref(String methodName) |
MethodReference |
ref(TypeWitness witness,
String methodName) |
String |
toString() |
ParameterizedTypeName |
withTypeArgument(TypeName type) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitnoType, toArrayTypeName, withTypeArgument, withTypeArgument, withTypeArguments, withTypeArgumentsisJavaLangObject, of, ofUnchecked, toClassName, toClassNameUncheckedpublic static NoTypeName _void()
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 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 ParameterizedTypeName withTypeArgument(TypeName type)
withTypeArgument in interface ClassNameOrParameterizedTypeNameCopyright © 2019 Objectos Software LTDA. All rights reserved.