javac ast indices: when java file contains >1 top declaration classes only one was...
authorDmitry Batkovich <dmitry.batkovich@jetbrains.com>
Sat, 15 Oct 2016 16:34:40 +0000 (19:34 +0300)
committerDmitry Batkovich <dmitry.batkovich@jetbrains.com>
Sat, 15 Oct 2016 16:34:40 +0000 (19:34 +0300)
commit7542588613eb791517f8d76121922255a877036c
tree1843b15ab7e07d20350d7ac26e3f0b661a614192
parentc042179d086cbca091a160d96ae128ea4c12cc3c
javac ast indices: when java file contains >1 top declaration classes only one was processed -- fixed
jps/jps-builders/src/org/jetbrains/jps/javac/ast/JavacReferencesCollector.java
jps/jps-builders/testData/referencesIndex/compilationUnitContains2Decls/Foo.java [new file with mode: 0644]
jps/jps-builders/testData/referencesIndex/compilationUnitContains2Decls/initialIndex.txt [new file with mode: 0644]
jps/jps-builders/testData/referencesIndex/nestedClasses/Foo.java [new file with mode: 0644]
jps/jps-builders/testData/referencesIndex/nestedClasses/initialIndex.txt [new file with mode: 0644]
jps/jps-builders/testData/referencesIndex/packageInfo/initialIndex.txt
jps/jps-builders/testSrc/org/jetbrains/references/ReferenceIndexTest.kt
jps/jps-builders/testSrc/org/jetbrains/references/ReferenceIndexTestBase.kt