|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface InternalClassTransformation
Extends ClassTransformation with additional methods that may only be used
internally by Tapestry.
| Method Summary | |
|---|---|
void |
copyMethod(TransformMethodSignature sourceMethod,
int modifiers,
String newMethodName)
Creates a new method by copying the body of an existing method. |
InternalClassTransformation |
createChildTransformation(javassist.CtClass childClass,
MutableComponentModel childModel)
|
Instantiator |
createInstantiator()
Called (after finish()) to construct an instantiator for the component. |
void |
finish()
Invoked after all ComponentClassTransformWorkers have had their chance to work over the class. |
List<ConstructorArg> |
getConstructorArgs()
Returns a copy of the list of constructor arguments for this class. |
IdAllocator |
getIdAllocator()
Returns a copy of the transformation's IdAllocator. |
InternalClassTransformation |
getParentTransformation()
Returns the parent transformation, or null for a root class. |
boolean |
isMethod(TransformMethodSignature signature)
Returns true if the provided signature is a method implemented by the transformed class. |
String |
searchForPreviousInjection(InjectionKey key)
Searchs for an existing injection of an object, returning the name of the protected field into which the value was injected. |
| Methods inherited from interface org.apache.tapestry5.ioc.AnnotationProvider |
|---|
getAnnotation |
| Method Detail |
|---|
void finish()
ComponentClassTransformWorkers have had their chance to work over the class. This
performs any final operations for the class transformation, which includes coming up with the final constructor
method for the class.
Instantiator createInstantiator()
finish()) to construct an instantiator for the component.
IdAllocator getIdAllocator()
List<ConstructorArg> getConstructorArgs()
String searchForPreviousInjection(InjectionKey key)
InternalClassTransformation createChildTransformation(javassist.CtClass childClass,
MutableComponentModel childModel)
InternalClassTransformation getParentTransformation()
void copyMethod(TransformMethodSignature sourceMethod,
int modifiers,
String newMethodName)
sourceMethod - method to be copiedmodifiers - modifiers for the new methodnewMethodName - name of new method to createboolean isMethod(TransformMethodSignature signature)
signature -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||