Package org.openrewrite.java.tree
Class J.Try.Padding
- java.lang.Object
-
- org.openrewrite.java.tree.J.Try.Padding
-
- Enclosing class:
- J.Try
public static class J.Try.Padding extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Padding()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @Nullable JLeftPadded<J.Block>getFinally()@Nullable JContainer<J.Try.Resource>getResources()J.TrywithFinally(@Nullable JLeftPadded<J.Block> finallie)J.TrywithResources(@Nullable JContainer<J.Try.Resource> resources)
-
-
-
Method Detail
-
getResources
@Nullable public @Nullable JContainer<J.Try.Resource> getResources()
-
withResources
public J.Try withResources(@Nullable @Nullable JContainer<J.Try.Resource> resources)
-
getFinally
@Nullable public @Nullable JLeftPadded<J.Block> getFinally()
-
withFinally
public J.Try withFinally(@Nullable @Nullable JLeftPadded<J.Block> finallie)
-
-