public static void weakptr_data_set(weakptr p, Object o) { p.setData(o); }
public static Object weakptr_data(weakptr p) { return p.getData(); }