A method name cross-reference list file is output so that the operator can check the correspondence between Java class methods and adapter class methods. The method name cross-reference list file is generated, when the -oi option or the "Option MethodTable" parameter is specified, in the adapter class output folder according to the following rules:
Period or dollar used in the class name or interface name qualified by a package name is changed to hyphen.
The extension is fixed to ".txt".
A method name cross-reference list file is output in the following format:
[Java] java-class-name [COBOL] cobol-external-class-name (1) [Java] type java-method-name (argument-type) [COBOL] cobol-external-method-name (2) [Java] type java-method-name (argument-type) OVERRIDE [COBOL] -None- ... (n) [Java] type java-method-name () [COBOL] cobol-external-method-name
java-class-name | Class name or interface name qualified by a package name |
---|---|
cobol-external-class-name | External class name of the adapter class corresponding to the Java class |
java-method-name | Java class method |
type | Return type of Java method |
argument-type | Argument type of Java method |
OVERRIDE | Added when a super class method is overridden |
cobol-method-name | External method name of the adapter class corresponding to the Java method |
-None- | Indicated when no adapter class method corresponds to the Java method |
No method name cross-reference list file is output for the following adapter class:
Array adapter class
The following methods of the java-lang-String class are not output to the method name cross-reference list file:
NEW-STRING-X
NEW-STRING-N
GET-STRING-X
GET-STRING-N
GET-STRING-LENGTH-X
GET-STRING-LENGTH-N