The adapter class source file corresponding to the specified Java class or interface is generated. If the specified class or interface refers to other classes or interfaces, the adapter classes corresponding those classes or interfaces are also generated. This processing is recursive until the following conditions are met:
No other classes or interfaces are referenced.
Adapter classes corresponding to the referenced classes or interfaces have all been generated.
A source file with the same name already exists in the output destination while overwriting is not specified.
The name of a generated source file is created from the class name or interface name qualified by the package name according to the following rules:
Period and dollar are converted into hyphen.
The extension is fixed to ".cob".
When the java2cob command is executed, the names of the adapter classes being generated are displayed.
d:\home\j2cob\samples> java2cob java.util.Date java/lang/Object java/io/Serializable java/lang/Cloneable java/lang/Comparable java/util/Date java/lang/reflect/GenericDeclaration java/lang/reflect/Type java/lang/reflect/AnnotatedElement java/lang/Class java/lang/Throwable java/lang/Exception java/lang/InterruptedException java/lang/CharSequence java/lang/String java/lang/reflect/TypeVariable java/lang/annotation/Annotation java/lang/ClassLoader java/lang/ClassNotFoundException java/lang/InstantiationException