StarOffice 5.2 API
reverse engineered by classdoc

stardiv.app
Class CreateJava

java.lang.Object
  |
  +--stardiv.app.CreateJava

public synchronized class CreateJava
extends java.lang.Object


Field Summary
private static int MAX_CLASSES
           
private static java.lang.String PARAMETER_NAME
           
private static java.lang.String[][] aKnownClassesArr
           
(package private) static java.lang.Class class$java$lang$Object
           
(package private) static java.lang.Class class$java$lang$String
           
private static int iNoOfKnownClasses
           
private static java.lang.String sGeneratedFileWarning
           
private static java.lang.String sSeparator
           
 
Constructor Summary
CreateJava()
           
 
Method Summary
private static void addClassNamePair(java.lang.String s1, java.lang.String s2)
           
private static boolean checkForToken(stardiv.tokenizer.Tokenizer t, java.lang.String s)
           
private static boolean checkForToken(stardiv.tokenizer.Tokenizer t, java.lang.String s, boolean b)
           
private static boolean checkToken(java.lang.String s1, java.lang.String s2, boolean b)
           
(package private) static java.lang.Class class$(java.lang.String s)
           
private static void cleanUpConvertArguments(java.lang.String s, java.io.PrintWriter pw, java.lang.Class[] c)
           
private static java.lang.Class convertJava2Ref(java.lang.String s)
           
private static java.lang.String convertRefl2Cpp_Assign(java.lang.Class c, java.lang.String s)
           
private static java.lang.String convertRefl2Cpp_return(java.lang.Class c)
           
private static java.lang.String convertRefl2SjString(java.lang.Class c)
           
private static java.lang.String convertToCppType(java.lang.String s)
           
private static stardiv.app.CreateArgOut createArguments(stardiv.tokenizer.Tokenizer t)
           
private static void createConvertArguments(java.lang.String s, java.io.PrintWriter pw, java.lang.Class[] c)
           
private static void createFiles(java.lang.String s1, java.lang.String s2, java.lang.String s3, java.lang.String s4)
           
private static void createForwards(java.lang.Class c, java.io.PrintWriter pw)
           
private static void createMethods(java.lang.Class c, java.lang.String s1, java.lang.String s2, java.lang.String s3, stardiv.tokenizer.Tokenizer t, java.io.PrintWriter pw1, java.io.PrintWriter pw2)
           
private static java.lang.String createSignature(java.lang.Class c1, java.lang.Class[] c2)
           
private static void dumpClass(java.lang.String s)
           
private static java.lang.String getArguments(java.lang.Object[] o)
           
private static java.lang.String getJNIMethod(java.lang.Class c)
           
private static java.lang.String getJNIType(java.lang.Class c)
           
private static java.lang.String getJNITypeSelector(java.lang.Class c)
           
private static java.lang.String getKnownClassName(java.lang.Class c)
           
private static java.lang.String getKnownClassName(java.lang.String s)
           
private static java.lang.String getSignatureForType(java.lang.Class c)
           
private static boolean implementsMethodWithName(java.lang.Class c, java.lang.String s)
           
static void main(java.lang.String[] s)
           
private static java.lang.String makeShortCppClassName(java.lang.String s)
           
private static boolean peekAndReadBlock(stardiv.tokenizer.Tokenizer t, java.io.PrintWriter pw1, java.io.PrintWriter pw2)
           
private static boolean peekForToken(stardiv.tokenizer.Tokenizer t, java.lang.String s, boolean b)
           
private static java.lang.String readIdentifier(stardiv.tokenizer.Tokenizer t)
           
private static void readWhitespaces(stardiv.tokenizer.Tokenizer t)
           
private static java.lang.String toSlashes(java.lang.String s)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MAX_CLASSES

private static final int MAX_CLASSES

PARAMETER_NAME

private static final java.lang.String PARAMETER_NAME

aKnownClassesArr

private static java.lang.String[][] aKnownClassesArr

class$java$lang$Object

static java.lang.Class class$java$lang$Object

class$java$lang$String

static java.lang.Class class$java$lang$String

iNoOfKnownClasses

private static int iNoOfKnownClasses

sGeneratedFileWarning

private static final java.lang.String sGeneratedFileWarning

sSeparator

private static final java.lang.String sSeparator
Constructor Detail

CreateJava

public CreateJava()
Method Detail

addClassNamePair

private static void addClassNamePair(java.lang.String s1,
                                     java.lang.String s2)

checkForToken

private static boolean checkForToken(stardiv.tokenizer.Tokenizer t,
                                     java.lang.String s)

checkForToken

private static boolean checkForToken(stardiv.tokenizer.Tokenizer t,
                                     java.lang.String s,
                                     boolean b)

checkToken

private static boolean checkToken(java.lang.String s1,
                                  java.lang.String s2,
                                  boolean b)

class$

static java.lang.Class class$(java.lang.String s)

cleanUpConvertArguments

private static void cleanUpConvertArguments(java.lang.String s,
                                            java.io.PrintWriter pw,
                                            java.lang.Class[] c)

convertJava2Ref

private static java.lang.Class convertJava2Ref(java.lang.String s)

convertRefl2Cpp_Assign

private static java.lang.String convertRefl2Cpp_Assign(java.lang.Class c,
                                                       java.lang.String s)

convertRefl2Cpp_return

private static java.lang.String convertRefl2Cpp_return(java.lang.Class c)

convertRefl2SjString

private static java.lang.String convertRefl2SjString(java.lang.Class c)

convertToCppType

private static java.lang.String convertToCppType(java.lang.String s)

createArguments

private static stardiv.app.CreateArgOut createArguments(stardiv.tokenizer.Tokenizer t)

createConvertArguments

private static void createConvertArguments(java.lang.String s,
                                           java.io.PrintWriter pw,
                                           java.lang.Class[] c)

createFiles

private static void createFiles(java.lang.String s1,
                                java.lang.String s2,
                                java.lang.String s3,
                                java.lang.String s4)

createForwards

private static void createForwards(java.lang.Class c,
                                   java.io.PrintWriter pw)

createMethods

private static void createMethods(java.lang.Class c,
                                  java.lang.String s1,
                                  java.lang.String s2,
                                  java.lang.String s3,
                                  stardiv.tokenizer.Tokenizer t,
                                  java.io.PrintWriter pw1,
                                  java.io.PrintWriter pw2)

createSignature

private static java.lang.String createSignature(java.lang.Class c1,
                                                java.lang.Class[] c2)

dumpClass

private static void dumpClass(java.lang.String s)

getArguments

private static java.lang.String getArguments(java.lang.Object[] o)

getJNIMethod

private static java.lang.String getJNIMethod(java.lang.Class c)

getJNIType

private static java.lang.String getJNIType(java.lang.Class c)

getJNITypeSelector

private static java.lang.String getJNITypeSelector(java.lang.Class c)

getKnownClassName

private static java.lang.String getKnownClassName(java.lang.Class c)

getKnownClassName

private static java.lang.String getKnownClassName(java.lang.String s)

getSignatureForType

private static java.lang.String getSignatureForType(java.lang.Class c)

implementsMethodWithName

private static final boolean implementsMethodWithName(java.lang.Class c,
                                                      java.lang.String s)

main

public static void main(java.lang.String[] s)

makeShortCppClassName

private static java.lang.String makeShortCppClassName(java.lang.String s)

peekAndReadBlock

private static boolean peekAndReadBlock(stardiv.tokenizer.Tokenizer t,
                                        java.io.PrintWriter pw1,
                                        java.io.PrintWriter pw2)

peekForToken

private static boolean peekForToken(stardiv.tokenizer.Tokenizer t,
                                    java.lang.String s,
                                    boolean b)

readIdentifier

private static java.lang.String readIdentifier(stardiv.tokenizer.Tokenizer t)

readWhitespaces

private static void readWhitespaces(stardiv.tokenizer.Tokenizer t)

toSlashes

private static java.lang.String toSlashes(java.lang.String s)

StarOffice 5.2 API
reverse engineered by classdoc