Example usage for org.eclipse.jdt.core ISourceRange interface-usage

List of usage examples for org.eclipse.jdt.core ISourceRange interface-usage

Introduction

In this page you can find the example usage for org.eclipse.jdt.core ISourceRange interface-usage.

Usage

From source file com.facebook.nuclide.shim.AbstractEclipseSourceRangeShim.java

public abstract class AbstractEclipseSourceRangeShim extends AbstractEclipseShim<ISourceRange>
        implements ISourceRange {

    @Override
    public int getLength() {
        return getProxy().getLength();

From source file org.autorefactor.refactoring.SourceLocation.java

/**
 * Represents a source location in a file, i.e. a position or a range in a source file.
 */
public class SourceLocation implements ISourceRange, Comparable<ISourceRange> {

    private final int offset;

From source file org.eclipse.ajdt.core.javaelements.SourceRange.java

/**
 * Taken from JDT's SourceRange
 */
public class SourceRange implements ISourceRange {

    protected int offset, length;