I'm developing cross-platform OpenGL game for computer and Android.
For computer platform i use LWJGL:
import static org.lwjgl.opengl.GL20.*;
For Android platform i use:
import static android.opengl.GLES20.*;
I don't want create interface GL and wrap these functions and i don't want write same classes twice with different imports. I know it's possible, because Java is compiled into native when it's launched.