public class JNonNullType extends JReferenceType
null
.HasName.Util
Modifier and Type | Method and Description |
---|---|
boolean |
canBeNull()
Returns
true if it's possible for this type to be
null . |
String |
getClassLiteralFactoryMethod() |
String |
getJavahSignatureName() |
String |
getJsniSignatureName() |
JNonNullType |
getNonNull() |
JReferenceType |
getUnderlyingType()
If this type is a non-null type, returns the underlying (original) type.
|
boolean |
isAbstract() |
boolean |
isExternal()
True if this class is provided externally to the program by the program's
host execution environment.
|
boolean |
isFinal() |
void |
traverse(JVisitor visitor,
Context ctx)
Causes this object to have the visitor visit itself and its children.
|
getDefaultValue, getShortName, replaces
getSourceInfo, setSourceInfo, toSource, toString
public boolean canBeNull()
JReferenceType
true
if it's possible for this type to be
null
.canBeNull
in class JReferenceType
JNonNullType
public String getClassLiteralFactoryMethod()
getClassLiteralFactoryMethod
in class JType
public String getJavahSignatureName()
getJavahSignatureName
in class JReferenceType
public String getJsniSignatureName()
getJsniSignatureName
in class JReferenceType
public JNonNullType getNonNull()
getNonNull
in class JReferenceType
public JReferenceType getUnderlyingType()
JReferenceType
getUnderlyingType
in class JReferenceType
public boolean isAbstract()
public boolean isExternal()
JType
isExternal
in class JType
public boolean isFinal()
public void traverse(JVisitor visitor, Context ctx)
JVisitable
visitor
- the visitor that should traverse this nodectx
- the context of an existing traversalCopyright © 2018. All rights reserved.