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 TypeMethodDescriptionvoid
finishClass
(String fqn) void
startClass
(String fullyQualifiedName, Optional<String> suffix, Environment logger) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods 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:
getCurrentClassName
in interfaceToolOutput
-
startClass
public void startClass(String fullyQualifiedName, Optional<String> suffix, Environment logger) throws IOException - Specified by:
startClass
in interfaceToolOutput
- Throws:
IOException
-
finishClass
- Specified by:
finishClass
in interfaceToolOutput
- Throws:
IOException
-