Java Code Examples for com.sun.tools.javac.util.JCDiagnostic.DiagnosticPosition#getStartPosition()

The following examples show how to use com.sun.tools.javac.util.JCDiagnostic.DiagnosticPosition#getStartPosition() . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: TreeMaker.java    From openjdk-jdk8u-backup with GNU General Public License v2.0 4 votes vote down vote up
/** Reassign current position.
 */
public TreeMaker at(DiagnosticPosition pos) {
    this.pos = (pos == null ? Position.NOPOS : pos.getStartPosition());
    return this;
}
 
Example 2
Source File: TreeMaker.java    From openjdk-8 with GNU General Public License v2.0 4 votes vote down vote up
/** Reassign current position.
 */
public TreeMaker at(DiagnosticPosition pos) {
    this.pos = (pos == null ? Position.NOPOS : pos.getStartPosition());
    return this;
}
 
Example 3
Source File: DocTreeMaker.java    From openjdk-8 with GNU General Public License v2.0 4 votes vote down vote up
/** Reassign current position.
 */
public DocTreeMaker at(DiagnosticPosition pos) {
    this.pos = (pos == null ? Position.NOPOS : pos.getStartPosition());
    return this;
}
 
Example 4
Source File: TreeMaker.java    From openjdk-8-source with GNU General Public License v2.0 4 votes vote down vote up
/** Reassign current position.
 */
public TreeMaker at(DiagnosticPosition pos) {
    this.pos = (pos == null ? Position.NOPOS : pos.getStartPosition());
    return this;
}
 
Example 5
Source File: DocTreeMaker.java    From openjdk-8-source with GNU General Public License v2.0 4 votes vote down vote up
/** Reassign current position.
 */
public DocTreeMaker at(DiagnosticPosition pos) {
    this.pos = (pos == null ? Position.NOPOS : pos.getStartPosition());
    return this;
}
 
Example 6
Source File: TreeMaker.java    From hottub with GNU General Public License v2.0 4 votes vote down vote up
/** Reassign current position.
 */
public TreeMaker at(DiagnosticPosition pos) {
    this.pos = (pos == null ? Position.NOPOS : pos.getStartPosition());
    return this;
}
 
Example 7
Source File: DocTreeMaker.java    From hottub with GNU General Public License v2.0 4 votes vote down vote up
/** Reassign current position.
 */
public DocTreeMaker at(DiagnosticPosition pos) {
    this.pos = (pos == null ? Position.NOPOS : pos.getStartPosition());
    return this;
}
 
Example 8
Source File: TreeMaker.java    From openjdk-jdk9 with GNU General Public License v2.0 4 votes vote down vote up
/** Reassign current position.
 */
public TreeMaker at(DiagnosticPosition pos) {
    this.pos = (pos == null ? Position.NOPOS : pos.getStartPosition());
    return this;
}
 
Example 9
Source File: DocTreeMaker.java    From openjdk-jdk9 with GNU General Public License v2.0 4 votes vote down vote up
/** Reassign current position.
 */
public DocTreeMaker at(DiagnosticPosition pos) {
    this.pos = (pos == null ? Position.NOPOS : pos.getStartPosition());
    return this;
}
 
Example 10
Source File: TreeMaker.java    From javaide with GNU General Public License v3.0 4 votes vote down vote up
/** Reassign current position.
 */
public TreeMaker at(DiagnosticPosition pos) {
    this.pos = (pos == null ? Position.NOPOS : pos.getStartPosition());
    return this;
}
 
Example 11
Source File: DocTreeMaker.java    From TencentKona-8 with GNU General Public License v2.0 4 votes vote down vote up
/** Reassign current position.
 */
public DocTreeMaker at(DiagnosticPosition pos) {
    this.pos = (pos == null ? Position.NOPOS : pos.getStartPosition());
    return this;
}
 
Example 12
Source File: DocTreeMaker.java    From openjdk-jdk8u-backup with GNU General Public License v2.0 4 votes vote down vote up
/** Reassign current position.
 */
public DocTreeMaker at(DiagnosticPosition pos) {
    this.pos = (pos == null ? Position.NOPOS : pos.getStartPosition());
    return this;
}
 
Example 13
Source File: TreeMaker.java    From lua-for-android with BSD 3-Clause "New" or "Revised" License 4 votes vote down vote up
/** Reassign current position.
 */
public TreeMaker at(DiagnosticPosition pos) {
    this.pos = (pos == null ? Position.NOPOS : pos.getStartPosition());
    return this;
}
 
Example 14
Source File: DocTreeMaker.java    From lua-for-android with BSD 3-Clause "New" or "Revised" License 4 votes vote down vote up
/** Reassign current position.
 */
public DocTreeMaker at(DiagnosticPosition pos) {
    this.pos = (pos == null ? Position.NOPOS : pos.getStartPosition());
    return this;
}
 
Example 15
Source File: TreeMaker.java    From openjdk-jdk8u with GNU General Public License v2.0 4 votes vote down vote up
/** Reassign current position.
 */
public TreeMaker at(DiagnosticPosition pos) {
    this.pos = (pos == null ? Position.NOPOS : pos.getStartPosition());
    return this;
}
 
Example 16
Source File: DocTreeMaker.java    From openjdk-jdk8u with GNU General Public License v2.0 4 votes vote down vote up
/** Reassign current position.
 */
public DocTreeMaker at(DiagnosticPosition pos) {
    this.pos = (pos == null ? Position.NOPOS : pos.getStartPosition());
    return this;
}
 
Example 17
Source File: TreeMaker.java    From java-n-IDE-for-Android with Apache License 2.0 4 votes vote down vote up
/** Reassign current position.
 */
public TreeMaker at(DiagnosticPosition pos) {
    this.pos = (pos == null ? Position.NOPOS : pos.getStartPosition());
    return this;
}
 
Example 18
Source File: TreeMaker.java    From jdk8u60 with GNU General Public License v2.0 4 votes vote down vote up
/** Reassign current position.
 */
public TreeMaker at(DiagnosticPosition pos) {
    this.pos = (pos == null ? Position.NOPOS : pos.getStartPosition());
    return this;
}
 
Example 19
Source File: DocTreeMaker.java    From jdk8u60 with GNU General Public License v2.0 4 votes vote down vote up
/** Reassign current position.
 */
public DocTreeMaker at(DiagnosticPosition pos) {
    this.pos = (pos == null ? Position.NOPOS : pos.getStartPosition());
    return this;
}
 
Example 20
Source File: TreeMaker.java    From TencentKona-8 with GNU General Public License v2.0 4 votes vote down vote up
/** Reassign current position.
 */
public TreeMaker at(DiagnosticPosition pos) {
    this.pos = (pos == null ? Position.NOPOS : pos.getStartPosition());
    return this;
}