jnr.ffi.provider.jffi.AbstractDirectPointerParameterStrategy Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jnr-unixsocket-nodep Show documentation
Show all versions of jnr-unixsocket-nodep Show documentation
com.github.jnr:jnr-unixsocket with orh.objectweb.asm shaded
package jnr.ffi.provider.jffi;
/**
*
*/
abstract class AbstractDirectPointerParameterStrategy extends PointerParameterStrategy {
public AbstractDirectPointerParameterStrategy() {
super(DIRECT);
}
@Override
public Object object(Object o) {
throw new RuntimeException("no array");
}
@Override
public int offset(Object o) {
throw new RuntimeException("no array");
}
@Override
public int length(Object o) {
throw new RuntimeException("no array");
}
}