}
@Override
public Struct fromNative(Pointer nativeValue, FromNativeContext context) {
try {
Struct s = constructor.newInstance(context.getRuntime());
s.useMemory(nativeValue);
return s;
} catch (InstantiationException e) {
throw new RuntimeException(e);
} catch (IllegalAccessException e) {
throw new RuntimeException(e);