}
public static IntegerVariable parse(Method m)
{
IntegerVariable v = new IntegerVariable();
Input ann = m.getAnnotation(Input.class);
v.name = ann.name();
v.current = Integer.parseInt(ann.initvalue());
v.step = Integer.parseInt(ann.stepvalue());
System.out.println(ann.stepvalue());
if (ann.bound().length() > 0)
{
v.lbound = Integer.parseInt(ann.bound().split(",")[0].trim());
v.ubound = Integer.parseInt(ann.bound().split(",")[1].trim());
}
else
{
v.lbound = -1;
v.ubound = -1;