Package org.openrewrite.java.tree
Class J.MethodDeclaration.Padding
java.lang.Object
org.openrewrite.java.tree.J.MethodDeclaration.Padding
- Enclosing class:
- J.MethodDeclaration
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@Nullable JLeftPadded<Expression>
@Nullable JContainer<NameTree>
@Nullable J.TypeParameters
withDefaultValue
(@Nullable JLeftPadded<Expression> defaultValue) withParameters
(JContainer<Statement> parameters) withThrows
(@Nullable JContainer<NameTree> throwz) withTypeParameters
(@Nullable J.TypeParameters typeParameters)
-
Constructor Details
-
Padding
public Padding()
-
-
Method Details
-
getParameters
-
withParameters
-
getThrows
-
withThrows
-
getDefaultValue
-
withDefaultValue
public J.MethodDeclaration withDefaultValue(@Nullable @Nullable JLeftPadded<Expression> defaultValue) -
getTypeParameters
-
withTypeParameters
-