GroovyAssignmentExpressionPattern (@NotNull final ElementPattern pattern) { return with(new PatternCondition<>("left") { @Override public boolean accepts(@NotNull final GrAssignmentExpression psiBinaryExpression, final ProcessingContext context) { return pattern.accepts(psiBinaryExpression.getLValue(), context); } }); }