Class LegacyTryWithResourcesTransform
java.lang.Object
net.covers1624.coffeegrinder.bytecode.transform.transformers.LegacyTryWithResourcesTransform
- All Implemented Interfaces:
MethodTransformer,Transformer
Handles matching Java 7 - 10 TryWithResources using finally blocks.
Created by covers1624 on 17/7/21.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic @Nullable StorematchStoreNull(@Nullable Instruction insn) voidtransform(MethodDecl function, MethodTransformContext ctx) Transform theMethodDecl.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.covers1624.coffeegrinder.bytecode.transform.Transformer
getName, stepType
-
Constructor Details
-
LegacyTryWithResourcesTransform
-
-
Method Details
-
transform
Description copied from interface:MethodTransformerTransform theMethodDecl.- Specified by:
transformin interfaceMethodTransformer- Parameters:
function- The function to transform.ctx- TheMethodTransformContext.
-
matchStoreNull
-