Package org.openrewrite.java.tree
Class J.ClassDeclaration.Padding
java.lang.Object
org.openrewrite.java.tree.J.ClassDeclaration.Padding
- Enclosing class:
- J.ClassDeclaration
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@Nullable JLeftPadded<TypeTree>
@Nullable JContainer<TypeTree>
getKind()
@Nullable JContainer<TypeTree>
@Nullable JContainer<Statement>
@Nullable JContainer<J.TypeParameter>
withExtends
(@Nullable JLeftPadded<TypeTree> extendings) withImplements
(@Nullable JContainer<TypeTree> implementings) withPermits
(@Nullable JContainer<TypeTree> permitting) withPrimaryConstructor
(@Nullable JContainer<Statement> primaryConstructor) withTypeParameters
(@Nullable JContainer<J.TypeParameter> typeParameters)
-
Constructor Details
-
Padding
public Padding()
-
-
Method Details
-
getPrimaryConstructor
-
withPrimaryConstructor
public J.ClassDeclaration withPrimaryConstructor(@Nullable @Nullable JContainer<Statement> primaryConstructor) -
getExtends
-
withExtends
-
getImplements
-
withImplements
-
getPermits
-
withPermits
-
getKind
-
withKind
-
getTypeParameters
-
withTypeParameters
public J.ClassDeclaration withTypeParameters(@Nullable @Nullable JContainer<J.TypeParameter> typeParameters)
-