org.cojen.classfile
Interface Location

All Superinterfaces:
Comparable
All Known Subinterfaces:
Label
All Known Implementing Classes:
FixedLocation

public interface Location
extends Comparable

Provides the location of an instruction in a CodeBuffer.

Author:
Brian S O'Neill

Method Summary
 int getLocation()
          Returns -1 if the location isn't yet fully resolved.
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Method Detail

getLocation

int getLocation()
                throws IllegalStateException
Returns -1 if the location isn't yet fully resolved.

Throws:
IllegalStateException - when the location is unknown and cannot be resolved.


Copyright © 2004-2011 Brian S O'Neill. All Rights Reserved.