mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
do not add slot variable names that declared after the current position
This commit is contained in:
@@ -335,6 +335,7 @@ public class LocalVariablesUtil {
|
||||
|
||||
@Override
|
||||
public void visitLocalVariable(PsiLocalVariable variable) {
|
||||
super.visitLocalVariable(variable);
|
||||
if (!myReached) {
|
||||
appendName(variable.getName());
|
||||
myCurrentSlotIndex += getTypeSlotSize(variable.getType());
|
||||
|
||||
Reference in New Issue
Block a user