Class Statement::SuperConstructorInvocationStmt

An explicit super(...) constructor invocation.

Direct supertypes

Indirect supertypes

Predicates

getATypeArgument

Gets a type argument of this constructor invocation.

getAnArgument

Gets an argument of this constructor invocation.

getArgument

Gets the argument at the specified (zero-based) position in this constructor invocation.

getConstructor

Gets the constructor invoked by this constructor invocation.

getEnclosingCallable

Gets the immediately enclosing callable of this constructor invocation.

getEnclosingStmt

Gets the immediately enclosing statement of this constructor invocation.

getHalsteadID

This statement’s Halstead ID (used to compute Halstead metrics).

getQualifier

Gets the qualifier expression of this super(...) constructor invocation, if any.

getTypeArgument

Gets the type argument at the specified (zero-based) position in this constructor invocation.

pp

Gets a printable representation of this statement. May include more detail than toString().

toString

Gets a printable representation of this statement.

Inherited predicates

callsSuper

Holds if this constructor call is an explicit call to super(...).

from ConstructorCall
callsThis

Holds if this constructor call is an explicit call to this(...).

from ConstructorCall
getAChild

Gets a child of this statement, if any.

from Stmt
getBasicBlock

Gets the basic block in which this statement occurs.

from Stmt
getCallee

Gets the target callable of this call.

from Call
getCaller

Gets the callable invoking this call.

from Call
getCompilationUnit

Gets the compilation unit in which this statement occurs.

from Stmt
getConstructedType

Gets the type of the object instantiated by this constructor call.

from ConstructorCall
getControlFlowNode

Gets the ControlFlowNode corresponding to this statement.

from Stmt
getFile

Gets the file associated with this element.

from Top
getIndex

Gets the index of this statement as a child of its parent.

from Stmt
getLocation

Gets the source location for this element.

from Top
getMetrics

Cast this statement to a class that provides access to metrics information.

from Stmt
getNumArgument

Gets the number of arguments provided in this call.

from Call
getNumberOfCommentLines

Gets the number of comment lines that this element ranges over.

from Top
getNumberOfLinesOfCode

Gets the number of lines of code that this element ranges over.

from Top
getParent

Gets the parent of this statement.

from Stmt
getTotalNumberOfLines

Gets the total number of lines that this element ranges over, including lines of code, comment and whitespace-only lines.

from Top
hasLocationInfo

Holds if this element is at the specified location. The location spans column startcolumn of line startline to column endcolumn of line endline in file filepath. For more information, see Locations.

from Top
isNthChildOf

Holds if this statement is the child of the specified parent at the specified (zero-based) position.

from Stmt