Package net.bytebuddy.build
Class Plugin.Engine.Source.Compound
java.lang.Object
net.bytebuddy.build.Plugin.Engine.Source.Compound
- All Implemented Interfaces:
Plugin.Engine.Source
- Enclosing interface:
Plugin.Engine.Source
@Enhance
public static class Plugin.Engine.Source.Compound
extends Object
implements Plugin.Engine.Source
A compound source that combines multiple sources into a single representation.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected static classImplements a compoundPlugin.Engine.Source.Origin.Nested classes/interfaces inherited from interface net.bytebuddy.build.Plugin.Engine.Source
Plugin.Engine.Source.Compound, Plugin.Engine.Source.Element, Plugin.Engine.Source.Empty, Plugin.Engine.Source.Filtering, Plugin.Engine.Source.ForFolder, Plugin.Engine.Source.ForJarFile, Plugin.Engine.Source.InMemory -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Collection<? extends Plugin.Engine.Source> The represented sources. -
Constructor Summary
ConstructorsConstructorDescriptionCompound(Collection<? extends Plugin.Engine.Source> sources) Creates a new compound source. -
Method Summary
-
Field Details
-
sources
The represented sources.
-
-
Constructor Details
-
Compound
Creates a new compound source.- Parameters:
sources- The represented sources.
-
-
Method Details
-
read
Initiates reading from a source.- Specified by:
readin interfacePlugin.Engine.Source- Returns:
- The origin to read from.
- Throws:
IOException- If an I/O error occurs.
-