}
}
public List<ClDef> getFileDefinitions() {
final List<ClDef> result = new ArrayList<ClDef>();
StubTree stubTree = getStubTree();
if (stubTree != null) {
for (StubElement<?> element : stubTree.getPlainList()) {
if (element.getStubType() == ClojureElementTypes.DEF || element.getStubType() == ClojureElementTypes.DEFMETHOD) {
PsiElement psi = element.getPsi();
if (psi instanceof ClDef) {
result.add((ClDef) psi);
}