class WildcardJType extends AbstractJType
| Modifier and Type | Field and Description |
|---|---|
private boolean |
extendsNotSuper |
private AbstractJType |
targetType |
| Constructor and Description |
|---|
WildcardJType(AbstractJType targetType,
boolean extendsNotSuper) |
| Modifier and Type | Method and Description |
|---|---|
JType |
array()
An array of this type.
|
(package private) AbstractJType |
getTargetType() |
(package private) boolean |
isExtendsNotSuper() |
java.lang.String |
simpleName()
Get the simple name of this type.
|
java.lang.String |
toString() |
JType |
wildcardExtends()
Get a wildcard that extends this type.
|
JType |
wildcardSuper()
Get a wildcard that this type extends.
|
(package private) void |
writeDirect(SourceFileWriter sourceFileWriter) |
private final AbstractJType targetType
private final boolean extendsNotSuper
public WildcardJType(AbstractJType targetType, boolean extendsNotSuper)
public java.lang.String simpleName()
JTypesimpleName in interface JTypesimpleName in class AbstractJTypepublic JType array()
JTypearray in interface JTypearray in class AbstractJTypepublic JType wildcardExtends()
JTypewildcardExtends in interface JTypewildcardExtends in class AbstractJTypepublic JType wildcardSuper()
JTypewildcardSuper in interface JTypewildcardSuper in class AbstractJTypevoid writeDirect(SourceFileWriter sourceFileWriter) throws java.io.IOException
writeDirect in class AbstractJTypejava.io.IOExceptionpublic java.lang.String toString()
toString in class AbstractJTypeAbstractJType getTargetType()
boolean isExtendsNotSuper()