Package org.jboss.jdeparser
Class WildcardJType
java.lang.Object
org.jboss.jdeparser.AbstractJType
org.jboss.jdeparser.WildcardJType
- All Implemented Interfaces:
JType
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionarray()
An array of this type.(package private) boolean
equals
(AbstractJType other) private boolean
equals
(WildcardJType other) (package private) AbstractJType
int
hashCode()
(package private) boolean
Get the simple name of this type.toString()
Get a wildcard that extends this type.Get a wildcard that this type extends.(package private) void
writeDirect
(SourceFileWriter sourceFileWriter)
-
Field Details
-
targetType
-
extendsNotSuper
private final boolean extendsNotSuper
-
-
Constructor Details
-
WildcardJType
-
-
Method Details
-
equals
- Specified by:
equals
in classAbstractJType
-
equals
-
hashCode
public int hashCode()- Specified by:
hashCode
in classAbstractJType
-
simpleName
Description copied from interface:JType
Get the simple name of this type.- Specified by:
simpleName
in interfaceJType
- Specified by:
simpleName
in classAbstractJType
- Returns:
- the type's simple name
-
array
Description copied from interface:JType
An array of this type.- Specified by:
array
in interfaceJType
- Overrides:
array
in classAbstractJType
- Returns:
- the array type
-
wildcardExtends
Description copied from interface:JType
Get a wildcard that extends this type.- Specified by:
wildcardExtends
in interfaceJType
- Overrides:
wildcardExtends
in classAbstractJType
- Returns:
- the wildcard
-
wildcardSuper
Description copied from interface:JType
Get a wildcard that this type extends.- Specified by:
wildcardSuper
in interfaceJType
- Overrides:
wildcardSuper
in classAbstractJType
- Returns:
- the wildcard
-
writeDirect
- Specified by:
writeDirect
in classAbstractJType
- Throws:
IOException
-
toString
- Specified by:
toString
in classAbstractJType
-
getTargetType
AbstractJType getTargetType() -
isExtendsNotSuper
boolean isExtendsNotSuper()
-