Java 类com.intellij.psi.codeStyle.arrangement.NameAwareArrangementEntry 实例源码

项目:intellij-ce-playground    文件:ByNameArrangementEntryMatcher.java   
@Nullable
@Override
protected String getTextToMatch(@NotNull ArrangementEntry entry) {
  if (entry instanceof NameAwareArrangementEntry) {
    return  ((NameAwareArrangementEntry)entry).getName();
  }
  else {
    return null;
  }
}
项目:tools-idea    文件:ByNameArrangementEntryMatcher.java   
@Nullable
@Override
protected String getTextToMatch(@NotNull ArrangementEntry entry) {
  if (entry instanceof NameAwareArrangementEntry) {
    return  ((NameAwareArrangementEntry)entry).getName();
  }
  else {
    return null;
  }
}
项目:consulo    文件:ByNameArrangementEntryMatcher.java   
@Nullable
@Override
protected String getTextToMatch(@Nonnull ArrangementEntry entry) {
  if (entry instanceof NameAwareArrangementEntry) {
    return  ((NameAwareArrangementEntry)entry).getName();
  }
  else {
    return null;
  }
}