org.vishia.java2C
Interface RunRequiredFirstPass_ifc
- All Known Implementing Classes:
- Java2C_Main
public interface RunRequiredFirstPass_ifc
This interface is used to run the first pass of a requested class
while running first or second pass of another file.
runRequestedFirstPass
ClassData runRequestedFirstPass(JavaSrcTreeFile javaSrc,
java.lang.String sClassName)
throws java.io.FileNotFoundException,
java.lang.IllegalArgumentException,
java.io.IOException,
java.lang.IllegalAccessException,
java.lang.InstantiationException,
java.text.ParseException
- searches a file and build the ClassData parsing and converting the file.
This method is called if an unknown type is used yet.
- Parameters:
sClassName - The name of the type in Java. The filename should be the same.
The file is searched in any package given as input parameter calling java2C.
- Returns:
- null if no file found. Otherwise the built ClassData.
This ClassData are registered in the list
Java2C_Main#userTypes.
- Throws:
java.text.ParseException
java.io.FileNotFoundException
java.lang.IllegalArgumentException
java.io.IOException
java.lang.IllegalAccessException
java.lang.InstantiationException