GrConstructorInvocation (@NotNull GrMethod constructor) { assert constructor.isConstructor(); final GrOpenBlock body = constructor.getBlock(); if (body == null) return null; final GrStatement[] statements = body.getStatements(); if (statements.length > 0 && statements[0] instanceof GrConstructorInvocation) { return ((GrConstructorInvocation)statements[0]); } else { return null; } }