ClassTransformation both deprecated and REMOVED several methods, like extendMethod, addMethod, etc.
First, while deprecating is fine, removal is a bad habit. Why not just change the implementation to use the new approach?
if this is what extendMethod turns into:
method = transformation.getOrCreateMethod(TransformConstants.BEGIN_RENDER_SIGNATURE);
tokenField.getName() + " = " + interField
+ ".checkBefore(" + configField + ");"
Then just put that code in extend method.
Second, there is no new approach! extendMethod suggests using TransformMethod.extend, but there is no TransformMethod.extend.
Note: Discovered while attempting to port tapestry-spring-security to 5.2.0-SNAPSHOT
|Assignee||Howard M. Lewis Ship [ hlship ]|
|Status||Open [ 1 ]||In Progress [ 3 ]|
|Status||In Progress [ 3 ]||Closed [ 6 ]|
|Fix Version/s||5.2.0 [ 12314122 ]|
|Resolution||Fixed [ 1 ]|