All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.jruby.runtime.PositionAware Maven / Gradle / Ivy

There is a newer version: 9.4.9.0
Show newest version
package org.jruby.runtime;

/**
 * Simple no-pojo methods for Position of a method (in truth we could use
 * this anywhere).  Simpler string and int does not require using
 * ISourcePosition, which is nicer for the
 */
public interface PositionAware {
    /**
     * Get the filename for the method.
     * 
     * @return the filename for the method
     */
    public String getFile();
    
    /**
     * Get the line number for the method.
     * 
     * @return the line number for the method
     */
    public int getLine();
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy