public class SimpleTypeName extends Object
SimpleTypeName
represents a simple type name(int, boolean, json, Person..) in Ballerina.Modifier and Type | Field and Description |
---|---|
protected int |
dimensions |
protected boolean |
isArrayType |
protected NodeLocation |
location |
protected String |
name |
protected String |
pkgName |
protected String |
pkgPath |
Constructor and Description |
---|
SimpleTypeName(String name,
String pkgName,
String pkgPath) |
Modifier and Type | Method and Description |
---|---|
int |
getDimensions() |
String |
getName() |
protected String |
getNameWithArray(String name) |
String |
getNameWithPkg() |
String |
getPackageName() |
String |
getPackagePath() |
boolean |
isArrayType() |
void |
setPkgPath(String pkgPath) |
String |
toString() |
protected NodeLocation location
protected String name
protected String pkgName
protected String pkgPath
protected boolean isArrayType
protected int dimensions
public String getName()
public String getPackageName()
public String getPackagePath()
public void setPkgPath(String pkgPath)
public boolean isArrayType()
public String getNameWithPkg()
public int getDimensions()
Copyright © 2018 WSO2. All rights reserved.