public class JArrayType extends JReferenceType
HasName.Util
BY_NAME_COMPARATOR
Constructor and Description |
---|
JArrayType(JType elementType) |
Modifier and Type | Method and Description |
---|---|
int |
getDims() |
JType |
getElementType() |
String |
getJavahSignatureName() |
String |
getJsniSignatureName() |
JType |
getLeafType() |
boolean |
isAbstract() |
boolean |
isExternal()
True if this class is provided externally to the program by the program's
host execution environment.
|
boolean |
isFinal() |
boolean |
replaces(JType originalType)
Checks type replacement from an external type to a resolved canonical type.
|
void |
traverse(JVisitor visitor,
Context ctx)
Causes this object to have the visitor visit itself and its children.
|
canBeNull, getDefaultValue, getNonNull, getUnderlyingType
getCompoundName, getName, getPackageName, getShortName, isEnumOrSubclass
getSourceInfo, setSourceInfo, toSource, toString
public JArrayType(JType elementType)
public int getDims()
public JType getElementType()
public String getJavahSignatureName()
getJavahSignatureName
in class JReferenceType
public String getJsniSignatureName()
getJsniSignatureName
in class JReferenceType
public JType getLeafType()
public boolean isAbstract()
public boolean isExternal()
JType
isExternal
in class JType
public boolean isFinal()
public boolean replaces(JType originalType)
JType
replaces
in class JReferenceType
public void traverse(JVisitor visitor, Context ctx)
JVisitable
visitor
- the visitor that should traverse this nodectx
- the context of an existing traversalCopyright © 2016. All rights reserved.