langtools/src/share/classes/com/sun/source/tree/LineMap.java
changeset 16303 b5dca0b42963
parent 13844 56339cf983a3
child 20612 4761f3ff7afb
equal deleted inserted replaced
16302:aef83975fed6 16303:b5dca0b42963
     1 /*
     1 /*
     2  * Copyright (c) 2006, 2012, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2006, 2013, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.  Oracle designates this
     7  * published by the Free Software Foundation.  Oracle designates this
    29  * Provides methods to convert between character positions and line numbers
    29  * Provides methods to convert between character positions and line numbers
    30  * for a compilation unit.
    30  * for a compilation unit.
    31  *
    31  *
    32  * @since 1.6
    32  * @since 1.6
    33  */
    33  */
       
    34 @jdk.Supported
    34 public interface LineMap {
    35 public interface LineMap {
    35     /**
    36     /**
    36      * Find the start position of a line.
    37      * Find the start position of a line.
    37      *
    38      *
    38      * @param line line number (beginning at 1)
    39      * @param line line number (beginning at 1)