for(Method m : ConstPool.class.getDeclaredMethods()) {
if(m.getName().equals("getItem")) {
m.setAccessible(true);
try {
Object _o = m.invoke(cp, new Integer(value));
stack.push(new WhateverConstant(_o));
} catch (Exception e) {
throw new RuntimeException(e);
}
}
}