boolean (ASTNode node) { ASTNode parent = node.getTreeParent(); return parent != null && parent.getElementType() == GroovyStubElementTypes.VARIABLE_DECLARATION && GroovyStubElementTypes.VARIABLE_DECLARATION.shouldCreateStub(parent); }