Top Classes
[default module]

Package com.github.javaparser.ast.body


Class Summary

Modifier and TypeClass and Description
public class
AnnotationDeclaration

An annotation type declaration.

public class
AnnotationMemberDeclaration

The "int id();" in @interface X { int id(); }

All annotations preceding the type will be set on this object, not on the type.

public abstract class
BodyDeclaration<T extends BodyDeclaration<?>>

Any declaration that can appear between the { and } of a class, interface, or enum.

public abstract class
CallableDeclaration<T extends CallableDeclaration<?>>

Represents a declaration which is callable eg.

public class
ClassOrInterfaceDeclaration

A definition of a class or interface.

public class
ConstructorDeclaration

A constructor declaration: class X { X() { } } where X(){} is the constructor declaration.

public class
EnumConstantDeclaration

One of the values an enum can take.

public class
EnumDeclaration

The declaration of an enum.

public class
FieldDeclaration

The declaration of a field in a class.

public class
InitializerDeclaration

A (possibly static) initializer body.

public class
MethodDeclaration

A method declaration.

public class
Parameter

The parameters to a method or lambda.

public class
public abstract class
TypeDeclaration<T extends TypeDeclaration<?>>

A base class for all types of type declarations.

public class
VariableDeclarator

The declaration of a variable.