header « class file « Java I/O Q&A

1. JNI Header file generating class    stackoverflow.com

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, ...

2. ANTLR @header, @parser, superClass option and basic file io (Java)    stackoverflow.com

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 ...

3. Generation of Header files with methods from two different classes???    forums.oracle.com

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.