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) booleanequals(AbstractJType other) inthashCode()Get the simple name of this type.toString()(package private) voidwriteDirect(SourceFileWriter sourceFileWriter) Methods inherited from class 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:
equalsin classAbstractJType
-
hashCode
public int hashCode()- Specified by:
hashCodein classAbstractJType
-
simpleName
Description copied from interface:JTypeGet the simple name of this type.- Specified by:
simpleNamein interfaceJType- Specified by:
simpleNamein classAbstractJType- Returns:
- the type's simple name
-
toString
- Specified by:
toStringin classAbstractJType
-
_class
-
_this
-
_super
-
_new
-
_newAnon
Description copied from interface:JTypeConstruct a new anonymous subclass of this type.- Specified by:
_newAnonin interfaceJType- Overrides:
_newAnonin classAbstractJType- Returns:
- the anonymous subclass definition
-
writeDirect
- Specified by:
writeDirectin classAbstractJType- Throws:
IOException
-