Package net.bytebuddy.build
Class RenamingPlugin.Renaming.Compound
java.lang.Object
net.bytebuddy.build.RenamingPlugin.Renaming.Compound
- All Implemented Interfaces:
RenamingPlugin.Renaming
- Enclosing interface:
RenamingPlugin.Renaming
@Enhance
public static class RenamingPlugin.Renaming.Compound
extends Object
implements RenamingPlugin.Renaming
A compound renaming.
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.bytebuddy.build.RenamingPlugin.Renaming
RenamingPlugin.Renaming.Compound, RenamingPlugin.Renaming.ForPattern, RenamingPlugin.Renaming.NoOp
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final List
<RenamingPlugin.Renaming> The renamings to apply. -
Constructor Summary
ConstructorsConstructorDescriptionCompound
(List<? extends RenamingPlugin.Renaming> renamings) Creates a new compound renaming.Compound
(RenamingPlugin.Renaming... renaming) Creates a new compound renaming. -
Method Summary
-
Field Details
-
renamings
The renamings to apply.
-
-
Constructor Details
-
Compound
Creates a new compound renaming.- Parameters:
renaming
- The renaming to apply.
-
Compound
Creates a new compound renaming.- Parameters:
renamings
- The renamings to apply.
-
-
Method Details
-
apply
Applies a renaming.- Specified by:
apply
in interfaceRenamingPlugin.Renaming
- Parameters:
name
- The previous name.- Returns:
- The former name.
-