public class InjectWorker extends Object implements ComponentClassTransformWorker2
Inject
annotation or the Inject
annotation.
The implementation of this worker mostly delegates to a chain of command of InjectionProvider2
.Constructor and Description |
---|
InjectWorker(ObjectLocator locator,
InjectionProvider2 injectionProvider,
OperationTracker tracker) |
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 InjectWorker(ObjectLocator locator, InjectionProvider2 injectionProvider, OperationTracker tracker)
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.