Uses of Interface
org.apache.tapestry5.plastic.PlasticField
-
Packages that use PlasticField Package Description org.apache.tapestry5.internal.plastic [INTERNAL USE ONLY] Plastic implementation details; API subject to changeorg.apache.tapestry5.internal.services [INTERNAL USE ONLY] internal service classes; API subject to changeorg.apache.tapestry5.internal.transform [INTERNAL USE ONLY] component class transformation implementation classes; API subject to change.org.apache.tapestry5.plastic Plastic, Tapestry's component class transformation library based on ASMorg.apache.tapestry5.services.transform Support for component class transformation. -
-
Uses of PlasticField in org.apache.tapestry5.internal.plastic
Methods in org.apache.tapestry5.internal.plastic that return PlasticField Modifier and Type Method Description PlasticFieldPlasticClassImpl. introduceField(java.lang.Class fieldType, java.lang.String suggestedName)PlasticFieldPlasticClassImpl. introduceField(java.lang.String className, java.lang.String suggestedName)Methods in org.apache.tapestry5.internal.plastic that return types with arguments of type PlasticField Modifier and Type Method Description java.util.List<PlasticField>PlasticClassImpl. getAllFields()<T extends java.lang.annotation.Annotation>
java.util.List<PlasticField>PlasticClassImpl. getFieldsWithAnnotation(java.lang.Class<T> annotationType)java.util.List<PlasticField>PlasticClassImpl. getUnclaimedFields()Methods in org.apache.tapestry5.internal.plastic with parameters of type PlasticField Modifier and Type Method Description InstructionBuilderInstructionBuilderImpl. getField(PlasticField field)PlasticClassPlasticClassImpl. proxyInterface(java.lang.Class interfaceType, PlasticField field) -
Uses of PlasticField in org.apache.tapestry5.internal.services
Methods in org.apache.tapestry5.internal.services with parameters of type PlasticField Modifier and Type Method Description booleanAssetInjectionProvider. provideInjection(PlasticField field, ObjectLocator locator, MutableComponentModel componentModel)booleanBlockInjectionProvider. provideInjection(PlasticField field, ObjectLocator locator, MutableComponentModel componentModel)booleanCommonResourcesInjectionProvider. provideInjection(PlasticField field, ObjectLocator locator, MutableComponentModel componentModel)booleanDefaultInjectionProvider. provideInjection(PlasticField field, ObjectLocator locator, MutableComponentModel componentModel)booleanServiceInjectionProvider. provideInjection(PlasticField field, ObjectLocator locator, MutableComponentModel componentModel)voidComponentDependencyRegistry. register(PlasticField plasticField, MutableComponentModel componentModel)Register a dependency of a component class with another through annotations such asInjectPage,InjectComponentandComponent.voidComponentDependencyRegistryImpl. 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 PlasticField Modifier and Type Method Description booleanInjectNamedProvider. provideInjection(PlasticField field, ObjectLocator locator, MutableComponentModel componentModel) -
Uses of PlasticField in org.apache.tapestry5.plastic
Methods in org.apache.tapestry5.plastic that return PlasticField Modifier and Type Method Description PlasticFieldPlasticField. claim(java.lang.Object tag)Claims the field, used to indicate that the field is "processed".PlasticFieldPlasticField. createAccessors(PropertyAccessType accessType)Creates access to the field, using the default property name derived from the name of the field.PlasticFieldPlasticField. createAccessors(PropertyAccessType accessType, java.lang.String propertyName)Creates accessors, possibly replacing existing methods (or overriding methods from a super class).PlasticFieldPlasticField. inject(java.lang.Object value)Converts the field to be read-only, and provide the indicated value.PlasticFieldPlasticField. injectComputed(ComputedValue<?> computedValue)Converts the field to be read-only, and provide the value, which is computed indirectly inside the class' constructor.PlasticFieldPlasticField. injectFromInstanceContext()As withinject(Object), but the value is extracted from theInstanceContext.PlasticFieldPlasticClass. introduceField(java.lang.Class fieldType, java.lang.String suggestedName)Convenience method that uses a Java class rather than a type name.PlasticFieldPlasticClass. introduceField(java.lang.String typeName, java.lang.String suggestedName)Introduces a new private field into the class.<F> PlasticFieldPlasticField. setComputedConduit(ComputedValue<FieldConduit<F>> computedConduit)Sets the conduit for the field to a value computed when the class is instantiated<F> PlasticFieldPlasticField. 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 PlasticField Modifier and Type Method Description java.util.List<PlasticField>PlasticClass. getAllFields()Returns all non-introduced fields, in sorted order by name.<T extends java.lang.annotation.Annotation>
java.util.List<PlasticField>PlasticClass. getFieldsWithAnnotation(java.lang.Class<T> annotationType)Matches all fields (claimed or not) that have the given annotation.java.util.List<PlasticField>PlasticClass. getUnclaimedFields()Returns all unclaimed fields, in sorted order by name.Methods in org.apache.tapestry5.plastic with parameters of type PlasticField Modifier and Type Method Description PlasticMethodPlasticMethod. delegateTo(PlasticField field)Changes the implementation of the method to delegate to the provided field.InstructionBuilderInstructionBuilder. getField(PlasticField field)Loads an instance or static field onto the stack.PlasticClassPlasticClass. proxyInterface(java.lang.Class interfaceType, PlasticField field)Introduces the interface, and then invokesPlasticMethod.delegateTo(PlasticField)on each method defined by the interface.static PlasticUtils.FieldInfoPlasticUtils. 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 PlasticField Modifier and Type Method Description booleanInjectionProvider2. provideInjection(PlasticField field, ObjectLocator locator, MutableComponentModel componentModel)Perform the injection, if possible.
-