Uses of Interface
org.apache.tapestry5.plastic.PlasticField
Packages that use PlasticField
Package
Description
[INTERNAL USE ONLY] Plastic implementation details; API subject to change
[INTERNAL USE ONLY] internal service classes; API subject to change
[INTERNAL USE ONLY] component class transformation implementation classes; API subject to change.
Plastic, Tapestry's component class transformation library based on ASM
Support for component class transformation.
-
Uses of PlasticField in org.apache.tapestry5.internal.plastic
Methods in org.apache.tapestry5.internal.plastic that return PlasticFieldModifier and TypeMethodDescriptionPlasticClassImpl.introduceField
(Class fieldType, String suggestedName) PlasticClassImpl.introduceField
(String className, String suggestedName) Methods in org.apache.tapestry5.internal.plastic that return types with arguments of type PlasticFieldModifier and TypeMethodDescriptionPlasticClassImpl.getAllFields()
<T extends Annotation>
List<PlasticField>PlasticClassImpl.getFieldsWithAnnotation
(Class<T> annotationType) PlasticClassImpl.getUnclaimedFields()
Methods in org.apache.tapestry5.internal.plastic with parameters of type PlasticFieldModifier and TypeMethodDescriptionInstructionBuilderImpl.getField
(PlasticField field) PlasticClassImpl.proxyInterface
(Class interfaceType, PlasticField field) -
Uses of PlasticField in org.apache.tapestry5.internal.services
Methods in org.apache.tapestry5.internal.services with parameters of type PlasticFieldModifier and TypeMethodDescriptionboolean
AssetInjectionProvider.provideInjection
(PlasticField field, ObjectLocator locator, MutableComponentModel componentModel) boolean
BlockInjectionProvider.provideInjection
(PlasticField field, ObjectLocator locator, MutableComponentModel componentModel) boolean
CommonResourcesInjectionProvider.provideInjection
(PlasticField field, ObjectLocator locator, MutableComponentModel componentModel) boolean
DefaultInjectionProvider.provideInjection
(PlasticField field, ObjectLocator locator, MutableComponentModel componentModel) boolean
ServiceInjectionProvider.provideInjection
(PlasticField field, ObjectLocator locator, MutableComponentModel componentModel) void
ComponentDependencyRegistry.register
(PlasticField plasticField, MutableComponentModel componentModel) Register a dependency of a component class with another through annotations such asInjectPage
,InjectComponent
andComponent
.void
ComponentDependencyRegistryImpl.register
(PlasticField plasticField, MutableComponentModel componentModel) -
Uses of PlasticField in org.apache.tapestry5.internal.transform
Methods in org.apache.tapestry5.internal.transform with parameters of type PlasticFieldModifier and TypeMethodDescriptionboolean
InjectNamedProvider.provideInjection
(PlasticField field, ObjectLocator locator, MutableComponentModel componentModel) -
Uses of PlasticField in org.apache.tapestry5.plastic
Methods in org.apache.tapestry5.plastic that return PlasticFieldModifier and TypeMethodDescriptionClaims the field, used to indicate that the field is "processed".PlasticField.createAccessors
(PropertyAccessType accessType) Creates access to the field, using the default property name derived from the name of the field.PlasticField.createAccessors
(PropertyAccessType accessType, String propertyName) Creates accessors, possibly replacing existing methods (or overriding methods from a super class).Converts the field to be read-only, and provide the indicated value.PlasticField.injectComputed
(ComputedValue<?> computedValue) Converts the field to be read-only, and provide the value, which is computed indirectly inside the class' constructor.PlasticField.injectFromInstanceContext()
As withinject(Object)
, but the value is extracted from theInstanceContext
.PlasticClass.introduceField
(Class fieldType, String suggestedName) Convenience method that uses a Java class rather than a type name.PlasticClass.introduceField
(String typeName, String suggestedName) Introduces a new private field into the class.<F> PlasticField
PlasticField.setComputedConduit
(ComputedValue<FieldConduit<F>> computedConduit) Sets the conduit for the field to a value computed when the class is instantiated<F> PlasticField
PlasticField.setConduit
(FieldConduit<F> conduit) Intercepts all access to the field, replacing such access with calls on the conduit.Methods in org.apache.tapestry5.plastic that return types with arguments of type PlasticFieldModifier and TypeMethodDescriptionPlasticClass.getAllFields()
Returns all non-introduced fields, in sorted order by name.<T extends Annotation>
List<PlasticField>PlasticClass.getFieldsWithAnnotation
(Class<T> annotationType) Matches all fields (claimed or not) that have the given annotation.PlasticClass.getUnclaimedFields()
Returns all unclaimed fields, in sorted order by name.Methods in org.apache.tapestry5.plastic with parameters of type PlasticFieldModifier and TypeMethodDescriptionPlasticMethod.delegateTo
(PlasticField field) Changes the implementation of the method to delegate to the provided field.InstructionBuilder.getField
(PlasticField field) Loads an instance or static field onto the stack.PlasticClass.proxyInterface
(Class interfaceType, PlasticField field) Introduces the interface, and then invokesPlasticMethod.delegateTo(PlasticField)
on each method defined by the interface.static PlasticUtils.FieldInfo
PlasticUtils.toFieldInfo
(PlasticField field) Utility method for creating PlasticUtils.FieldInfo instances. -
Uses of PlasticField in org.apache.tapestry5.services.transform
Methods in org.apache.tapestry5.services.transform with parameters of type PlasticFieldModifier and TypeMethodDescriptionboolean
InjectionProvider2.provideInjection
(PlasticField field, ObjectLocator locator, MutableComponentModel componentModel) Perform the injection, if possible.