public static interface Plugin.Engine.Target.Sink extends Closeable
Modifier and Type | Interface and Description |
---|---|
static class |
Plugin.Engine.Target.Sink.ForJarOutputStream
Implements a sink for a jar file.
|
Modifier and Type | Method and Description |
---|---|
void |
retain(Plugin.Engine.Source.Element element)
Retains the supplied element in its original form.
|
void |
store(ClassFileVersion classFileVersion,
Map<TypeDescription,byte[]> binaryRepresentations)
Stores the supplied binary representation of types in this sink.
|
void |
store(Map<TypeDescription,byte[]> binaryRepresentations)
Stores the supplied binary representation of types in this sink.
|
void store(Map<TypeDescription,byte[]> binaryRepresentations) throws IOException
binaryRepresentations
- The binary representations to store.IOException
- If an I/O error occurs.void store(ClassFileVersion classFileVersion, Map<TypeDescription,byte[]> binaryRepresentations) throws IOException
classFileVersion
- The version of the multi-release jar file, which should at least be 8
as previous
versions are not recognized by regular class loaders.binaryRepresentations
- The binary representations to store.IOException
- If an I/O error occurs.void retain(Plugin.Engine.Source.Element element) throws IOException
element
- The element to retain.IOException
- If an I/O error occurs.Copyright © 2014–2025. All rights reserved.