Example usage for org.aspectj.weaver.patterns IToken getEnd

List of usage examples for org.aspectj.weaver.patterns IToken getEnd

Introduction

In this page you can find the example usage for org.aspectj.weaver.patterns IToken getEnd.

Prototype

int getEnd();

Source Link

Document

The ending index of this location in the character stream This points to the last character in this token.

Usage

From source file:org.caesarj.compiler.aspectj.CaesarWrapperPatternParser.java

License:Open Source License

private boolean isAdjacent(IToken first, IToken second) {
    return first.getEnd() == second.getStart() - 1;
}