software.coley.cafedude.tree.frame.PrimitiveValue Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of cafedude-tree Show documentation
Show all versions of cafedude-tree Show documentation
Tree module for CafeDude, containing a simplified intermediate model for classes
The newest version!
package software.coley.cafedude.tree.frame;
/**
* Contains an integer which represents the type of the value. It can be one of
* the following:
*
* - {@link #TOP}
* - {@link #INTEGER}
* - {@link #FLOAT}
* - {@link #DOUBLE}
* - {@link #LONG}
* - {@link #NULL}
* - {@link #UNINITIALIZED_THIS}
*
*
* @author Justus Garbe
*/
public class PrimitiveValue extends Value {
private int value;
/**
* @param value
* Type of the value.
*/
public PrimitiveValue(int value) {
this.value = value;
}
/**
* @return Type of the value.
*/
public int getValue() {
return value;
}
/**
* @param value
* Type of the value.
*/
public void setValue(int value) {
this.value = value;
}
}