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 @jdk.Exported 37 public interface Locatable { 38 /** 39 * Returns the {@link Location} of this mirror, if there 40 * is executable code associated with it. Note that both 41 * Java<SUP><FONT SIZE="-2">TM</FONT></SUP> programming 42 * language methods and native methods have executable 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 } | 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 @jdk.Exported 37 public interface Locatable { 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 } |