public abstract class JType extends JNode implements HasName, CanBeFinal
HasName.Util
Constructor and Description |
---|
JType(SourceInfo info,
String name)
Base type for AST type definitions.
|
Modifier and Type | Method and Description |
---|---|
abstract String |
getClassLiteralFactoryMethod() |
abstract JLiteral |
getDefaultValue() |
abstract String |
getJavahSignatureName() |
abstract String |
getJsniSignatureName() |
String |
getName()
Binary name of the type.
|
boolean |
isExternal()
True if this class is provided externally to the program by the program's
host execution environment.
|
getSourceInfo, setSourceInfo, toSource, toString
isFinal
traverse
protected final String name
public JType(SourceInfo info, String name)
info
- tracks the source file origin of this type through compilation.name
- binary name of the type.public abstract String getClassLiteralFactoryMethod()
public abstract JLiteral getDefaultValue()
public abstract String getJavahSignatureName()
public abstract String getJsniSignatureName()
public String getName()
public boolean isExternal()
Copyright © 2018. All rights reserved.