Java 类com.intellij.util.diff.DiffTree 实例源码

项目:intellij-ce-playground    文件:BlockSupportImpl.java   
public static <T> void diffTrees(@NotNull final ASTNode oldRoot,
                                 @NotNull final DiffTreeChangeBuilder<ASTNode, T> builder,
                                 @NotNull final ShallowNodeComparator<ASTNode, T> comparator,
                                 @NotNull final FlyweightCapableTreeStructure<T> newTreeStructure,
                                 @NotNull ProgressIndicator indicator,
                                 @NotNull CharSequence lastCommittedText) {
  TreeUtil.ensureParsedRecursivelyCheckingProgress(oldRoot, indicator);
  DiffTree.diff(createInterruptibleASTStructure(oldRoot, indicator), newTreeStructure, comparator, builder, lastCommittedText);
}
项目:tools-idea    文件:BlockSupportImpl.java   
public static <T> void diffTrees(@NotNull final ASTNode oldRoot,
                                 @NotNull final DiffTreeChangeBuilder<ASTNode, T> builder,
                                 @NotNull final ShallowNodeComparator<ASTNode, T> comparator,
                                 @NotNull final FlyweightCapableTreeStructure<T> newTreeStructure,
                                 final ProgressIndicator indicator) {
  TreeUtil.ensureParsedRecursivelyCheckingProgress(oldRoot, indicator);
  DiffTree.diff(createInterruptibleASTStructure(oldRoot, indicator), newTreeStructure, comparator, builder);
}
项目:consulo    文件:BlockSupportImpl.java   
public static <T> void diffTrees(@Nonnull final ASTNode oldRoot,
                                 @Nonnull final DiffTreeChangeBuilder<ASTNode, T> builder,
                                 @Nonnull final ShallowNodeComparator<ASTNode, T> comparator,
                                 @Nonnull final FlyweightCapableTreeStructure<T> newTreeStructure,
                                 @Nonnull ProgressIndicator indicator,
                                 @Nonnull CharSequence lastCommittedText) {
  TreeUtil.ensureParsedRecursivelyCheckingProgress(oldRoot, indicator);
  DiffTree.diff(createInterruptibleASTStructure(oldRoot, indicator), newTreeStructure, comparator, builder, lastCommittedText);
}