public static long objprimspec(SixModelObject obj, ThreadContext tc) {
return obj.st.REPR.get_storage_spec(tc, obj.st).boxed_primitive;
}
public static SixModelObject setinvokespec(SixModelObject obj, SixModelObject ch,
String name, SixModelObject invocationHandler, ThreadContext tc) {
InvocationSpec is = new InvocationSpec();
is.ClassHandle = ch;
is.AttrName = name;
is.Hint = STable.NO_HINT;
is.InvocationHandler = invocationHandler;
obj.st.InvocationSpec = is;