[groovy] quickly check if file contains 'Field' and 'BaseScript' string
authorDaniil Ovchinnikov <daniil.ovchinnikov@jetbrains.com>
Tue, 25 Oct 2016 17:10:59 +0000 (20:10 +0300)
committerDaniil Ovchinnikov <daniil.ovchinnikov@jetbrains.com>
Tue, 25 Oct 2016 17:22:41 +0000 (20:22 +0300)
commit80c850fbb1f3836f6b346e7c5bc0156a850a4f05
treea2176b062f03c8c213cd9a9d12ab619a9c4a1b7b
parentab6e71a4dc4035558826c0df002088e0a6933372
[groovy] quickly check if file contains 'Field' and 'BaseScript' string
before attempting to load its contents
plugins/groovy/groovy-psi/src/org/jetbrains/plugins/groovy/dsl/toplevel/AnnotatedContextFilter.java
plugins/groovy/groovy-psi/src/org/jetbrains/plugins/groovy/transformations/impl/BaseScriptTransformationSupport.java
plugins/groovy/groovy-psi/src/org/jetbrains/plugins/groovy/transformations/impl/FieldScriptTransformationSupport.java
plugins/groovy/groovy-psi/src/org/jetbrains/plugins/groovy/util/GrFileIndexUtil.java