I'm currently using the JNI to generate C headers for native methods being used in a Java class ABC. However, I'd like to use these methods elsewhere, in another class XYZ, ...
I want to use parser actions with basic file io (Java), e. g. PrintWriter in an ANTLR grammar. Must I use the superClass option or can I use @header? In both ...
I have tried by creating another non public class B, it does not work I have added the methods to the same class say A, it did not work. Next idea is to call all static methods in class B from class A....would that help?? Guys would appreciate if any immediate responses are given.