Package org.openrewrite.java.tree
Class J.MethodDeclaration.Padding
- java.lang.Object
-
- org.openrewrite.java.tree.J.MethodDeclaration.Padding
-
- Enclosing class:
- J.MethodDeclaration
public static class J.MethodDeclaration.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<Expression>getDefaultValue()JContainer<Statement>getParameters()@Nullable JContainer<NameTree>getThrows()@Nullable J.TypeParametersgetTypeParameters()J.MethodDeclarationwithDefaultValue(@Nullable JLeftPadded<Expression> defaultValue)J.MethodDeclarationwithParameters(JContainer<Statement> parameters)J.MethodDeclarationwithThrows(@Nullable JContainer<NameTree> throwz)J.MethodDeclarationwithTypeParameters(@Nullable J.TypeParameters typeParameters)
-
-
-
Method Detail
-
getParameters
public JContainer<Statement> getParameters()
-
withParameters
public J.MethodDeclaration withParameters(JContainer<Statement> parameters)
-
getThrows
@Nullable public @Nullable JContainer<NameTree> getThrows()
-
withThrows
public J.MethodDeclaration withThrows(@Nullable @Nullable JContainer<NameTree> throwz)
-
getDefaultValue
@Nullable public @Nullable JLeftPadded<Expression> getDefaultValue()
-
withDefaultValue
public J.MethodDeclaration withDefaultValue(@Nullable @Nullable JLeftPadded<Expression> defaultValue)
-
getTypeParameters
@Nullable public @Nullable J.TypeParameters getTypeParameters()
-
withTypeParameters
public J.MethodDeclaration withTypeParameters(@Nullable @Nullable J.TypeParameters typeParameters)
-
-