boolean () { final StubElement stub = getStub(); if (stub instanceof GrFileStub) { return ((GrFileStub)stub).isScript(); } Boolean isScript = myScript; if (isScript == null) { isScript = checkIsScript(); myScript = isScript; } return isScript; }