Class ImplicitConstructorCleanup
java.lang.Object
net.covers1624.coffeegrinder.bytecode.transform.transformers.ImplicitConstructorCleanup
- All Implemented Interfaces:
ClassTransformer,Transformer
We have the following cases to deal with:
- 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 Details
-
ImplicitConstructorCleanup
public ImplicitConstructorCleanup()
-
-
Method Details
-
transform
- Specified by:
transformin interfaceClassTransformer
-