Package org.openrewrite.java.tree
Class J.ClassDeclaration.Padding
- java.lang.Object
-
- org.openrewrite.java.tree.J.ClassDeclaration.Padding
-
- Enclosing class:
- J.ClassDeclaration
public static class J.ClassDeclaration.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<TypeTree>
getExtends()
@Nullable JContainer<TypeTree>
getImplements()
J.ClassDeclaration.Kind
getKind()
@Nullable JContainer<J.TypeParameter>
getTypeParameters()
J.ClassDeclaration
withExtends(@Nullable JLeftPadded<TypeTree> extendings)
J.ClassDeclaration
withImplements(@Nullable JContainer<TypeTree> implementings)
J.ClassDeclaration
withKind(J.ClassDeclaration.Kind kind)
J.ClassDeclaration
withTypeParameters(@Nullable JContainer<J.TypeParameter> typeParameters)
-
-
-
Method Detail
-
getExtends
@Nullable public @Nullable JLeftPadded<TypeTree> getExtends()
-
withExtends
public J.ClassDeclaration withExtends(@Nullable @Nullable JLeftPadded<TypeTree> extendings)
-
getImplements
@Nullable public @Nullable JContainer<TypeTree> getImplements()
-
withImplements
public J.ClassDeclaration withImplements(@Nullable @Nullable JContainer<TypeTree> implementings)
-
getKind
public J.ClassDeclaration.Kind getKind()
-
withKind
public J.ClassDeclaration withKind(J.ClassDeclaration.Kind kind)
-
getTypeParameters
@Nullable public @Nullable JContainer<J.TypeParameter> getTypeParameters()
-
withTypeParameters
public J.ClassDeclaration withTypeParameters(@Nullable @Nullable JContainer<J.TypeParameter> typeParameters)
-
-