|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.sun.tools.javac.v8.JavaCompiler | +--gate.util.Javac.GJC
Field Summary | |
(package private) Javac.MemoryLog |
memLog
|
(package private) Map |
sources
|
Fields inherited from class com.sun.tools.javac.v8.JavaCompiler |
attr, chk, classOutput, deprecation, encoding, enter, gen, gj, infer, inputFiles, log, make, printFlat, rs, sourceOutput, syms, todo, verbose, warnunchecked |
Constructor Summary | |
(package private) |
Javac.GJC(Javac.MemoryLog log,
com.sun.tools.javac.v8.comp.Symtab syms,
com.sun.tools.javac.v8.util.Hashtable options,
Map sources)
|
Method Summary | |
InputStream |
openSource(String fileName)
Overidden so that it reads the sources from the provided Map rather than from the disk. |
(package private) void |
printCount(String kind,
int count)
|
void |
writeClass(com.sun.tools.javac.v8.code.Symbol.ClassSymbol c)
Overidden so it loads the compiled class in the gate classloader rather than writting it on the disk. |
Methods inherited from class com.sun.tools.javac.v8.JavaCompiler |
compile, complete, date, errorCount, genCode, make, make, make, noteDeprecated, noteUnchecked, parse, parse, printSource, printVerbose, version |
Methods inherited from class java.lang.Object |
|
Field Detail |
Map sources
Javac.MemoryLog memLog
Constructor Detail |
Javac.GJC(Javac.MemoryLog log, com.sun.tools.javac.v8.comp.Symtab syms, com.sun.tools.javac.v8.util.Hashtable options, Map sources)
Method Detail |
public InputStream openSource(String fileName)
openSource
in class com.sun.tools.javac.v8.JavaCompiler
fileName
- the name of the file that should contain the source.void printCount(String kind, int count)
printCount
in class com.sun.tools.javac.v8.JavaCompiler
public void writeClass(com.sun.tools.javac.v8.code.Symbol.ClassSymbol c) throws IOException
writeClass
in class com.sun.tools.javac.v8.JavaCompiler
c
- the class symbolIOException
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |