Class ConstructorDeclaration

All Implemented Interfaces:
NodeWithAbstractModifier<ConstructorDeclaration>, NodeWithAccessModifiers<ConstructorDeclaration>, NodeWithFinalModifier<ConstructorDeclaration>, NodeWithPrivateModifier<ConstructorDeclaration>, NodeWithProtectedModifier<ConstructorDeclaration>, NodeWithPublicModifier<ConstructorDeclaration>, NodeWithStaticModifier<ConstructorDeclaration>, NodeWithStrictfpModifier<ConstructorDeclaration>, NodeWithAnnotations<ConstructorDeclaration>, NodeWithBlockStmt<ConstructorDeclaration>, NodeWithDeclaration, NodeWithJavadoc<ConstructorDeclaration>, NodeWithModifiers<ConstructorDeclaration>, NodeWithParameters<ConstructorDeclaration>, NodeWithRange<Node>, NodeWithSimpleName<ConstructorDeclaration>, NodeWithThrownExceptions<ConstructorDeclaration>, NodeWithTokenRange<Node>, NodeWithTypeParameters<ConstructorDeclaration>, Observable, Visitable, HasParentNode<Node>, Resolvable<ResolvedConstructorDeclaration>, Cloneable

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


All annotations preceding the name will be set on this object, not on the class. JavaParser doesn't know if it they are applicable to the method or the class.

Author:
Julio Vilmar Gesser