Class NamedToolOutput
java.lang.Object
org.openjdk.asmtools.common.outputs.NamedToolOutput
- All Implemented Interfaces:
ToolOutput
- Direct Known Subclasses:
ByteOutput,DirOutput,PrintWriterOutput,TextOutput
Historically, the output loggers for compilers had two stderrs, one to sdout and secon to stderr.
That should be removed, in favour of just dualstream tool output, printing output to stdout and log into stderr
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidfinishClass(String fqn) voidstartClass(String fullyQualifiedName, Optional<String> suffix, Environment logger) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.openjdk.asmtools.common.outputs.ToolOutput
flush, getDataOutputStream, printlns, prints, prints
-
Field Details
-
fqn
-
suffix
-
environment
-
-
Constructor Details
-
NamedToolOutput
public NamedToolOutput()
-
-
Method Details
-
getCurrentClassName
- Specified by:
getCurrentClassNamein interfaceToolOutput
-
startClass
public void startClass(String fullyQualifiedName, Optional<String> suffix, Environment logger) throws IOException - Specified by:
startClassin interfaceToolOutput- Throws:
IOException
-
finishClass
- Specified by:
finishClassin interfaceToolOutput- Throws:
IOException
-