[groovy] drop annotation on changes in current file (EA-92973)

This commit is contained in:
Daniil Ovchinnikov
2017-02-28 15:15:22 +01:00
parent fe784941b1
commit 9999b2835d
@@ -1,5 +1,5 @@
/*
* Copyright 2000-2016 JetBrains s.r.o.
* Copyright 2000-2017 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -282,7 +282,7 @@ public class GrModifierListImpl extends GrStubElementBase<GrModifierListStub> im
public GrAnnotation[] getAnnotations() {
return CachedValuesManager.getCachedValue(this, () -> Result.create(
GrAnnotationCollector.getResolvedAnnotations(this),
PsiModificationTracker.JAVA_STRUCTURE_MODIFICATION_COUNT
PsiModificationTracker.JAVA_STRUCTURE_MODIFICATION_COUNT, this
));
}