resolve

Attempts to resolve the declaration corresponding to the invoked constructor. If successful, a ResolvedConstructorDeclaration representing the declaration of the constructor invoked by this ObjectCreationExpr is returned. Otherwise, an UnsolvedSymbolException is thrown.

Return

a ResolvedConstructorDeclaration representing the declaration of the invoked constructor.

See also

Throws

if the declaration corresponding to the object creation expression could not be resolved.