Examples of SpockClassCheck


Examples of com.cholick.idea.spock.util.SpockClassCheck

            doVisitLabeledStatement(labeledStatement, nextLabeledStatement);
        }
    }

    private boolean getInSpockClass(GrLabeledStatement labeledStatement) {
        return new SpockClassCheck(labeledStatement.getContainingFile()).getIsSpockClass();
    }
View Full Code Here

Examples of com.cholick.idea.spock.util.SpockClassCheck

            if (element instanceof PsiComment) {
                return false;
            }

            return new SpockClassCheck(element).getIsSpockClass();
        }

        return false;
    }
View Full Code Here

Examples of com.cholick.idea.spock.util.SpockClassCheck

        spockPsiElementVisitor = new SpockPsiElementVisitor();
    }

    @Override
    public boolean suitableForFile(@NotNull PsiFile file) {
        return file instanceof GroovyFile && new SpockClassCheck(file).getIsSpockClass();
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.