Details
Description
Please add the following method to Type class:
public boolean isPrimitve() {
String value = getValue();
return "int".equals(value) || "long".equals(value) || ....
}
Please add the following method to Type class:
public boolean isPrimitve() {
String value = getValue();
return "int".equals(value) || "long".equals(value) || ....
}
|
|
|
Seems reasonable.