org.jruby.runtime
Interface PositionAware

All Known Subinterfaces:
ISourcePosition
All Known Implementing Classes:
CompiledMethod, CompiledMethod.LazyCompiledMethod, DefaultMethod, InterpretedMethod, JittedMethod, ProcMethod, ReflectedCompiledMethod, SimpleSourcePosition, TraceableInterpretedMethod

public interface PositionAware

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


Method Summary
 java.lang.String getFile()
          Get the filename for the method.
 int getLine()
          Get the line number for the method.
 

Method Detail

getFile

java.lang.String getFile()
Get the filename for the method.

Returns:
the filename for the method

getLine

int getLine()
Get the line number for the method.

Returns:
the line number for the method


Copyright © 2002-2009 JRuby Team. All Rights Reserved.