matchName != null && matchName.contains(DIRECTIVE) && hasDirectiveName(remainingLineContent)) {
assert remainingLineContent != null;
final int offset = comment.getTextOffset() + comment.getText().indexOf(matchName);
final String attributeName = getAttributeName(remainingLineContent.substring(1));
visitor.storeAdditionalData(comment, AngularDirectivesIndex.INDEX_ID.toString(), attributeName, offset);
<BUG>visitor.storeAdditionalData(comment, AngularSymbolIndex.INDEX_ID.toString(), attributeName, offset);
}</BUG>
}
private static boolean hasDirectiveName(String remainingLineContent) {
return remainingLineContent != null && remainingLineContent.startsWith(":") && !remainingLineContent.contains(".");

matchName != null && matchName.contains(DIRECTIVE) && hasDirectiveName(remainingLineContent)) {
assert remainingLineContent != null;
final int offset = comment.getTextOffset() + comment.getText().indexOf(matchName);
final String attributeName = getAttributeName(remainingLineContent.substring(1));
visitor.storeAdditionalData(comment, AngularDirectivesIndex.INDEX_ID.toString(), attributeName, offset);
visitor.storeAdditionalData(comment, AngularSymbolIndex.INDEX_ID.toString(), attributeName, offset);
visitor.storeAdditionalData(comment, AngularSymbolIndex.INDEX_ID.toString(), remainingLineContent.substring(1), offset);
}
}
private static boolean hasDirectiveName(String remainingLineContent) {
return remainingLineContent != null && remainingLineContent.startsWith(":") && !remainingLineContent.contains(".");
