public interface TypeName extends CodeElement, ParameterTypeName
| Modifier and Type | Method and Description |
|---|---|
String |
acceptJavaFileImportSet(JavaFileImportSet set) |
<R,P> R |
acceptTypeNameVisitor(TypeNameVisitor<R,P> visitor,
P p) |
TypeName |
arrayCreationTypeName() |
default boolean |
isJavaLangObject() |
default boolean |
isVoid() |
static TypeName |
of(TypeMirror type) |
static TypeName |
ofUnchecked(TypeMirror type) |
default Optional<ClassName> |
toClassName() |
default ClassName |
toClassNameUnchecked() |
isVarArgsacceptCodeWriterstatic TypeName of(TypeMirror type)
static TypeName ofUnchecked(TypeMirror type)
String acceptJavaFileImportSet(JavaFileImportSet set)
<R,P> R acceptTypeNameVisitor(TypeNameVisitor<R,P> visitor, P p)
TypeName arrayCreationTypeName()
default boolean isJavaLangObject()
default boolean isVoid()
default ClassName toClassNameUnchecked()
Copyright © 2019 Objectos Software LTDA. All rights reserved.