Lines Matching refs:Imports
2278 // Sorts and deduplicates a block of includes given by 'Imports' based on
2284 const SmallVectorImpl<JavaImportDirective> &Imports,
2287 unsigned ImportsBeginOffset = Imports.front().Offset;
2289 Imports.back().Offset + Imports.back().Text.size();
2295 for (unsigned i = 0, e = Imports.size(); i != e; ++i) {
2298 findJavaImportGroup(Style, Imports[i].Identifier));
2302 return std::make_tuple(!Imports[LHSI].IsStatic, JavaImportGroups[LHSI],
2303 Imports[LHSI].Identifier) <
2304 std::make_tuple(!Imports[RHSI].IsStatic, JavaImportGroups[RHSI],
2305 Imports[RHSI].Identifier);
2311 return Imports[LHSI].Text == Imports[RHSI].Text;
2315 bool CurrentIsStatic = Imports[Indices.front()].IsStatic;
2322 if (CurrentIsStatic != Imports[Index].IsStatic ||
2326 for (StringRef CommentLine : Imports[Index].AssociatedCommentLines) {
2330 result += Imports[Index].Text;
2331 CurrentIsStatic = Imports[Index].IsStatic;
2338 Imports.front().Offset, ImportsBlockSize))))
2341 auto Err = Replaces.add(tooling::Replacement(FileName, Imports.front().Offset,