This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
CsmInclude lastInclude = null;
boolean isLastIncludeTypeMatch = false;
for (CsmInclude inc : currentFile.getIncludes()) {
if (inc.getStartOffset() < 0) {
continue;
}
if (inc.getEndOffset() <= substOffset) {
if (inc.isSystem() == isSystem) {
lastInclude = inc;