You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by hl...@apache.org on 2010/05/15 00:32:22 UTC
svn commit: r944509 -
/tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/services/ClassTransformation.java
Author: hlship
Date: Fri May 14 22:32:22 2010
New Revision: 944509
URL: http://svn.apache.org/viewvc?rev=944509&view=rev
Log:
TAP5-1138: ClassTransformation deprecated a bunch of methods, then refers to replacements that don't exist
Modified:
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/services/ClassTransformation.java
Modified: tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/services/ClassTransformation.java
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/services/ClassTransformation.java?rev=944509&r1=944508&r2=944509&view=diff
==============================================================================
--- tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/services/ClassTransformation.java (original)
+++ tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/services/ClassTransformation.java Fri May 14 22:32:22 2010
@@ -110,6 +110,7 @@ public interface ClassTransformation ext
* @param annotationClass
* @return a list of method signature (which may be empty) in ascending order
* @see #findMethods(MethodFilter)
+ * @deprecated Use {@link #matchMethodsWithAnnotation(Class)} instead
*/
List<TransformMethodSignature> findMethodsWithAnnotation(Class<? extends Annotation> annotationClass);
@@ -401,7 +402,8 @@ public interface ClassTransformation ext
* the body of code
* @throws org.apache.tapestry5.internal.services.MethodCompileException
* if the provided Javassist method body can not be compiled
- * @deprecated Use {@link TransformMethod#extend(String)} instead. This method is non-functional as of Tapestry 5.2.
+ * @deprecated Use {@link TransformMethod#addAdvice(ComponentMethodAdvice)} instead. This method is non-functional
+ * as of Tapestry 5.2.
*/
void extendMethod(TransformMethodSignature methodSignature, String methodBody);
@@ -418,7 +420,8 @@ public interface ClassTransformation ext
* @throws org.apache.tapestry5.internal.services.MethodCompileException
* if the provided method body can not be compiled
* @see #prefixMethod(TransformMethodSignature, String)
- * @deprecated Use {@link TransformMethod#extend(String) instead}. This method is non-functional as of Tapestry 5.2.
+ * @deprecated Use {@link TransformMethod#addAdvice(ComponentMethodAdvice) instead}. This method is non-functional
+ * as of Tapestry 5.2.
*/
void extendExistingMethod(TransformMethodSignature methodSignature, String methodBody);
@@ -551,8 +554,7 @@ public interface ClassTransformation ext
/**
* Returns true if this transformation represents a root class (one that extends directly from
- * Object), or false if
- * this transformation is an extension of another transformed class.
+ * Object), or false if this transformation is an sub-class of another transformed class.
*
* @return true if root class, false if sub-class
*/