public class InjectComponentWorker extends Object implements ComponentClassTransformWorker2
InjectComponent annotation, and converts the field into a
read-only field containing the component. The id of the component may be explicitly stated or will be determined
from the field name.| Constructor and Description |
|---|
InjectComponentWorker(ComponentClassCache classCache) |
| 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 InjectComponentWorker(ComponentClassCache classCache)
public void transform(PlasticClass plasticClass, TransformationSupport support, MutableComponentModel model)
ComponentClassTransformWorker2PlasticClass.transform in interface ComponentClassTransformWorker2plasticClass - component class being transformedsupport - additional utilities needed during the transformationmodel - the model for the component being transformed5.6.4 - Copyright © 2003-2021 The Apache Software Foundation.