List<PsiReferenceExpression> (int startOffset) { final CopyOnWriteList topReadVariables = readVariables[startOffset]; if (topReadVariables == null) return Collections.emptyList(); final List<PsiReferenceExpression> result = new ArrayList<>(); List<VariableInfo> list = topReadVariables.getList(); for (final VariableInfo variableInfo : list) { result.add((PsiReferenceExpression)variableInfo.expression); } return result; }