## Uses of Class
japa.parser.ast.body.BodyDeclaration

Packages that use BodyDeclaration
japa.parser
japa.parser.ast.body
japa.parser.ast.expr

### Uses of BodyDeclaration in japa.parser

Methods in japa.parser that return BodyDeclaration
`static BodyDeclaration` JavaParser.`parseBodyDeclaration(String body)` Parses the Java body declaration(e.g fields or methods) contained in a `String` and returns a `BodyDeclaration` that represents it.

Methods in japa.parser with parameters of type BodyDeclaration
`static void` ASTHelper.`addMember(TypeDeclaration type, BodyDeclaration decl)` Adds the given declaration to the specified type.

### Uses of BodyDeclaration in japa.parser.ast.body

Subclasses of BodyDeclaration in japa.parser.ast.body
`class` `AnnotationDeclaration`
`class` `AnnotationMemberDeclaration`
`class` `ClassOrInterfaceDeclaration`
`class` `ConstructorDeclaration`
`class` `EmptyMemberDeclaration`
`class` `EmptyTypeDeclaration`
`class` `EnumConstantDeclaration`
`class` `EnumDeclaration`
`class` `FieldDeclaration`
`class` `InitializerDeclaration`
`class` `MethodDeclaration`
`class` `TypeDeclaration`

Methods in japa.parser.ast.body that return types with arguments of type BodyDeclaration
`List<BodyDeclaration>` EnumConstantDeclaration.`getClassBody()`
`List<BodyDeclaration>` TypeDeclaration.`getMembers()`

Method parameters in japa.parser.ast.body with type arguments of type BodyDeclaration
`void` EnumConstantDeclaration.`setClassBody(List<BodyDeclaration> classBody)`
`void` TypeDeclaration.`setMembers(List<BodyDeclaration> members)`

Constructor parameters in japa.parser.ast.body with type arguments of type BodyDeclaration
Constructor and Description
`AnnotationDeclaration(int beginLine, int beginColumn, int endLine, int endColumn, int modifiers, List<AnnotationExpr> annotations, String name, List<BodyDeclaration> members)`
`AnnotationDeclaration(int modifiers, List<AnnotationExpr> annotations, String name, List<BodyDeclaration> members)`
`ClassOrInterfaceDeclaration(int beginLine, int beginColumn, int endLine, int endColumn, int modifiers, List<AnnotationExpr> annotations, boolean isInterface, String name, List<TypeParameter> typeParameters, List<ClassOrInterfaceType> extendsList, List<ClassOrInterfaceType> implementsList, List<BodyDeclaration> members)`
`ClassOrInterfaceDeclaration(int modifiers, List<AnnotationExpr> annotations, boolean isInterface, String name, List<TypeParameter> typeParameters, List<ClassOrInterfaceType> extendsList, List<ClassOrInterfaceType> implementsList, List<BodyDeclaration> members)`
`EnumConstantDeclaration(int beginLine, int beginColumn, int endLine, int endColumn, List<AnnotationExpr> annotations, String name, List<Expression> args, List<BodyDeclaration> classBody)`
`EnumConstantDeclaration(List<AnnotationExpr> annotations, String name, List<Expression> args, List<BodyDeclaration> classBody)`
`EnumDeclaration(int beginLine, int beginColumn, int endLine, int endColumn, int modifiers, List<AnnotationExpr> annotations, String name, List<ClassOrInterfaceType> implementsList, List<EnumConstantDeclaration> entries, List<BodyDeclaration> members)`
`EnumDeclaration(int modifiers, List<AnnotationExpr> annotations, String name, List<ClassOrInterfaceType> implementsList, List<EnumConstantDeclaration> entries, List<BodyDeclaration> members)`
`TypeDeclaration(int beginLine, int beginColumn, int endLine, int endColumn, List<AnnotationExpr> annotations, int modifiers, String name, List<BodyDeclaration> members)`
`TypeDeclaration(List<AnnotationExpr> annotations, int modifiers, String name, List<BodyDeclaration> members)`

### Uses of BodyDeclaration in japa.parser.ast.expr

Methods in japa.parser.ast.expr that return types with arguments of type BodyDeclaration
`List<BodyDeclaration>` ObjectCreationExpr.`getAnonymousClassBody()`

Method parameters in japa.parser.ast.expr with type arguments of type BodyDeclaration
`void` ObjectCreationExpr.`setAnonymousClassBody(List<BodyDeclaration> anonymousClassBody)`

Constructor parameters in japa.parser.ast.expr with type arguments of type BodyDeclaration
Constructor and Description
`ObjectCreationExpr(int beginLine, int beginColumn, int endLine, int endColumn, Expression scope, ClassOrInterfaceType type, List<Type> typeArgs, List<Expression> args, List<BodyDeclaration> anonymousBody)`