Refactoring had caused all the chaos. Fixes #3111.

This commit is contained in:
Manindra Moharana
2015-06-23 20:04:13 -07:00
parent 48e136bb79
commit 4ae59e12e8

View File

@@ -901,9 +901,9 @@ public class ASTGenerator {
if (td.getStructuralProperty(TypeDeclaration.SUPERCLASS_TYPE_PROPERTY) != null) {
SimpleType st = (SimpleType) td.getStructuralProperty(TypeDeclaration.SUPERCLASS_TYPE_PROPERTY);
log("Superclass " + st.getName());
ArrayList<CompletionCandidate> candidates =
ArrayList<CompletionCandidate> tempCandidates =
getMembersForType(st.getName().toString(), word2, noCompare, false);
for (CompletionCandidate can : candidates) {
for (CompletionCandidate can : tempCandidates) {
candidates.add(can);
}
//findDeclaration(st.getName())