private static final ElementPattern<GoLiteralIdentifier> SHORT_VAR =
psiElement(GoLiteralIdentifier.class).withParent(
psiElement(GoShortVarDeclaration.class));
public ShortVarSolver(final ShortVarReference reference) {
solveWithVisitor(new ReferenceSolvingVisitor(this, reference) {
@Override
public void visitShortVarDeclaration(GoShortVarDeclaration declaration) {
checkIdentifiers(reference.name(), declaration.getDeclarations());
}