public class ConstructorDeclaration extends MethodDeclaration implements Constructor
body, exceptions, name, parameters, parentIsInterfaceDeclaration, returnType, voidCommentsmodArray| Constructor and Description | 
|---|
ConstructorDeclaration(ExtList children,
                      boolean parentIsInterfaceDeclaration)
Constructor declaration. 
 | 
ConstructorDeclaration(Modifier[] modifiers,
                      ProgramElementName name,
                      ParameterDeclaration[] parameters,
                      Throws exceptions,
                      StatementBlock body,
                      boolean parentIsInterfaceDeclaration)
Deprecated.  
 | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
isAbstract()
Constructors are never abstract. 
 | 
boolean | 
isFinal()
Constructors are never final. 
 | 
boolean | 
isNative()
Constructors are never native. 
 | 
boolean | 
isStatic()
Constructors are never static. 
 | 
boolean | 
isStrictFp()
Constructors are never strictfp. 
 | 
boolean | 
isSynchronized()
Constructors are never synchronized. 
 | 
void | 
visit(Visitor v)
calls the corresponding method of a visitor in order to
 perform some action/transformation on this element 
 | 
getBody, getChildAt, getChildCount, getFirstElement, getFullName, getLastElement, getName, getParameterDeclarationAt, getParameterDeclarationCount, getParameters, getProgramElementName, getStateCount, getStatementAt, getStatementCount, getThrown, getTypeReference, getTypeReferenceAt, getTypeReferenceCount, getVoidComments, isModel, isPrivate, isProtected, isPublic, isVarArgMethod, prettyPrintgetModifiers, getVisibilityModifier, isGhost, isTransient, isVolatilecompatibleBlockSize, computeHashCode, equals, equalsModRenaming, getArrayPos, match, matchChildrengetComments, hashCode, prettyPrintMain, reuseSignaturegetEndPosition, getFirstElementIncludingBlocks, getParentClass, getPositionInfo, getRelativePosition, getStartPosition, setParentClass, toSource, toString, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitisPrivate, isProtected, isPublicgetFullNamegetNamegetModifiersgetComments, matchequalsModRenaming, getEndPosition, getFirstElementIncludingBlocks, getPositionInfo, getRelativePosition, getStartPositionpublic ConstructorDeclaration(ExtList children, boolean parentIsInterfaceDeclaration)
parentIsInterfaceDeclaration - a boolean set true iff
 parent is an InterfaceDeclaration@Deprecated public ConstructorDeclaration(Modifier[] modifiers, ProgramElementName name, ParameterDeclaration[] parameters, Throws exceptions, StatementBlock body, boolean parentIsInterfaceDeclaration)
modifiers - a modifier array.name - an identifier.parameters - a parameter declaration mutable list.exceptions - a throws.body - a statement block.parentIsInterfaceDeclaration - a boolean set true iff
 parent is an InterfaceDeclarationpublic boolean isAbstract()
isAbstract in interface MethodisAbstract in class MethodDeclarationtrue if this member is abstract,
       false otherwise.Constructorpublic boolean isFinal()
isFinal in interface MemberisFinal in class MethodDeclarationtrue if this member is final,
       false otherwise.public boolean isNative()
isNative in interface MethodisNative in class MethodDeclarationtrue if this method is native,
       false otherwise.Constructorpublic boolean isStatic()
isStatic in interface MemberisStatic in interface MemberDeclarationisStatic in class MethodDeclarationtrue if this member is static,
       false otherwise.public boolean isStrictFp()
isStrictFp in interface MemberisStrictFp in interface MemberDeclarationisStrictFp in class MethodDeclarationtrue if this member is strictfp,
       false otherwise.public boolean isSynchronized()
isSynchronized in interface MethodisSynchronized in class MethodDeclarationtrue if this method is synchronized,
       false otherwise.Constructorpublic void visit(Visitor v)
SourceElementvisit in interface SourceElementvisit in class MethodDeclarationv - the Visitor