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) boolean |
equals(AbstractJType other) |
private boolean |
equals(WildcardJType other) |
(package private) AbstractJType |
getTargetType() |
int |
hashCode() |
(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)
boolean equals(AbstractJType other)
equals
in class AbstractJType
private boolean equals(WildcardJType other)
public int hashCode()
hashCode
in class AbstractJType
public java.lang.String simpleName()
JType
simpleName
in interface JType
simpleName
in class AbstractJType
public JType array()
JType
array
in interface JType
array
in class AbstractJType
public JType wildcardExtends()
JType
wildcardExtends
in interface JType
wildcardExtends
in class AbstractJType
public JType wildcardSuper()
JType
wildcardSuper
in interface JType
wildcardSuper
in class AbstractJType
void writeDirect(SourceFileWriter sourceFileWriter) throws java.io.IOException
writeDirect
in class AbstractJType
java.io.IOException
public java.lang.String toString()
toString
in class AbstractJType
AbstractJType getTargetType()
boolean isExtendsNotSuper()