public class ImplicitConstructorCleanup extends java.lang.Object implements ClassTransformer
- Remove calls to super with no arguments. - Nuke anon class passthrough constructors. - Remove constructors which only have a single super call - If there are no other constructors and - If the method is declared as public or the class is an enum - Remove empty static initializersCreated by covers1624 on 26/11/21.
| Constructor and Description |
|---|
ImplicitConstructorCleanup() |
| Modifier and Type | Method and Description |
|---|---|
void |
transform(ClassDecl cInsn,
ClassTransformContext ctx) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetName, stepTypepublic void transform(ClassDecl cInsn, ClassTransformContext ctx)
transform in interface ClassTransformer