17 * You should have received a copy of the GNU General Public License version
18 * 2 along with this work; if not, write to the Free Software Foundation,
19 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
20 *
21 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
22 * or visit www.oracle.com if you need additional information or have any
23 * questions.
24 */
25
26 package com.sun.jdi;
27
28 /**
29 * A mirror that has a {@link Location}.
30 *
31 * @author Robert Field
32 * @author Gordon Hirsch
33 * @author James McIlree
34 * @since 1.3
35 */
36 public interface Locatable {
37 /**
38 * Returns the {@link Location} of this mirror, if there is
39 * executable code associated with it. Note that both Java™
40 * programming language methods and native methods have executable
41 * code.
42 * Returns null for abstract methods, since abstract methods
43 * have no executable code.
44 *
45 * @return the {@link Location} of this mirror, or null if
46 * there is no executable code associated with it.
47 */
48 Location location();
49 }
|
17 * You should have received a copy of the GNU General Public License version
18 * 2 along with this work; if not, write to the Free Software Foundation,
19 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
20 *
21 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
22 * or visit www.oracle.com if you need additional information or have any
23 * questions.
24 */
25
26 package com.sun.jdi;
27
28 /**
29 * A mirror that has a {@link Location}.
30 *
31 * @author Robert Field
32 * @author Gordon Hirsch
33 * @author James McIlree
34 * @since 1.3
35 */
36 public interface Locatable {
37
38 /**
39 * Returns the {@link Location} of this mirror, if there is
40 * executable code associated with it. Note that both Java™
41 * programming language methods and native methods have executable
42 * code.
43 * Returns null for abstract methods, since abstract methods
44 * have no executable code.
45 *
46 * @return the {@link Location} of this mirror, or null if
47 * there is no executable code associated with it.
48 */
49 Location location();
50 }
|