Package org.jboss.jdeparser
Class ThisJType
java.lang.Object
org.jboss.jdeparser.AbstractJType
org.jboss.jdeparser.ThisJType
- All Implemented Interfaces:
JType
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription_class()
An expression of the formThisType.class
._new()
Construct a new instance of this non-array type._newAnon()
Construct a new anonymous subclass of this type._super()
An expression of the formThisType.super
._this()
An expression of the formThisType.this
.(package private) boolean
equals
(AbstractJType other) int
hashCode()
Get the simple name of this type.toString()
(package private) void
writeDirect
(SourceFileWriter sourceFileWriter) Methods inherited from class org.jboss.jdeparser.AbstractJType
_new, _new, _newArray, $t, $v, array, box, call, call, elementType, equals, erasure, field, methodRef, methodRef, nestedType, of, qualifiedName, typeArg, typeArg, typeArg, typeArgs, unbox, wildcardExtends, wildcardSuper
-
Constructor Details
-
ThisJType
ThisJType()
-
-
Method Details
-
equals
- Specified by:
equals
in classAbstractJType
-
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
-
toString
- Specified by:
toString
in classAbstractJType
-
_class
Description copied from interface:JType
An expression of the formThisType.class
.- Specified by:
_class
in interfaceJType
- Overrides:
_class
in classAbstractJType
- Returns:
- the expression
-
_this
Description copied from interface:JType
An expression of the formThisType.this
. If the type is an array type, an exception is thrown.- Specified by:
_this
in interfaceJType
- Overrides:
_this
in classAbstractJType
- Returns:
- the expression
-
_super
Description copied from interface:JType
An expression of the formThisType.super
. If the type is an array type, an exception is thrown.- Specified by:
_super
in interfaceJType
- Overrides:
_super
in classAbstractJType
- Returns:
- the expression
-
_new
Description copied from interface:JType
Construct a new instance of this non-array type. If the type is an array type, an exception is thrown.- Specified by:
_new
in interfaceJType
- Overrides:
_new
in classAbstractJType
- Returns:
- the construction call
-
_newAnon
Description copied from interface:JType
Construct a new anonymous subclass of this type.- Specified by:
_newAnon
in interfaceJType
- Overrides:
_newAnon
in classAbstractJType
- Returns:
- the anonymous subclass definition
-
writeDirect
- Specified by:
writeDirect
in classAbstractJType
- Throws:
IOException
-