PrimitiveTypepublic class PrimitiveType extends Type Super class for boolean type, char type,
and all numeric types. |
Fields Summary |
---|
protected WrapperClassType | wrapper |
Constructors Summary |
---|
public PrimitiveType(String name, Class clazz, int enumType)
super(name, clazz, enumType);
|
Methods Summary |
---|
public WrapperClassType | getWrapper()
return wrapper;
| public boolean | isCompatibleWith(Type type)
if (type instanceof PrimitiveType)
return ((PrimitiveType)type).clazz.isAssignableFrom(clazz);
else
return false;
| public void | setWrapper(WrapperClassType wrapper)
this.wrapper = wrapper;
|
|