Example usage for org.eclipse.jdt.core.dom.rewrite TargetSourceRangeComputer subclass-usage

List of usage examples for org.eclipse.jdt.core.dom.rewrite TargetSourceRangeComputer subclass-usage

Introduction

In this page you can find the example usage for org.eclipse.jdt.core.dom.rewrite TargetSourceRangeComputer subclass-usage.

Usage

From source file org.eclipse.emf.codegen.merge.java.facade.ast.CommentAwareSourceRangeComputer.java

/**
 * Class that computes the ranges for the nodes for use by {@link ASTRewrite}. The ranges for the nodes will include
 * the comments between the nodes in order to preserve as many comments as possible when
 * nodes are moved or removed.
 * <p>
 * The default range for any node will include the comments immediately preceding the node and