public class MixinWorker extends Object implements ComponentClassTransformWorker2
Mixin
annotation, which allows a mixin to
be part of the
implementation of a component. The annotation is applied to a field, which will become read-only,
and contain a
reference to the mixin instance.Constructor and Description |
---|
MixinWorker(ComponentClassResolver resolver) |
Modifier and Type | Method and Description |
---|---|
void |
transform(PlasticClass plasticClass,
TransformationSupport support,
MutableComponentModel model)
Invoked to perform part of the transformation of the
PlasticClass . |
public MixinWorker(ComponentClassResolver resolver)
public void transform(PlasticClass plasticClass, TransformationSupport support, MutableComponentModel model)
ComponentClassTransformWorker2
PlasticClass
.transform
in interface ComponentClassTransformWorker2
plasticClass
- component class being transformedsupport
- additional utilities needed during the transformationmodel
- the model for the component being transformed5.6.3 - Copyright © 2003-2021 The Apache Software Foundation.