org.jf.baksmali.Adaptors
Class MethodItem

java.lang.Object
  extended by org.jf.baksmali.Adaptors.MethodItem
All Implemented Interfaces:
java.lang.Comparable<MethodItem>
Direct Known Subclasses:
BlankMethodItem, CatchMethodItem, CommentedOutMethodItem, CommentMethodItem, DebugMethodItem, InstructionMethodItem, LabelMethodItem, PostInstructionRegisterInfoMethodItem, PreInstructionRegisterInfoMethodItem, SyntheticAccessCommentMethodItem

public abstract class MethodItem
extends java.lang.Object
implements java.lang.Comparable<MethodItem>


Field Summary
protected  int codeAddress
           
 
Constructor Summary
protected MethodItem(int codeAddress)
           
 
Method Summary
 int compareTo(MethodItem methodItem)
           
 int getCodeAddress()
           
abstract  double getSortOrder()
           
abstract  boolean writeTo(org.jf.util.IndentingWriter writer)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

codeAddress

protected final int codeAddress
Constructor Detail

MethodItem

protected MethodItem(int codeAddress)
Method Detail

getCodeAddress

public int getCodeAddress()

getSortOrder

public abstract double getSortOrder()

compareTo

public int compareTo(MethodItem methodItem)
Specified by:
compareTo in interface java.lang.Comparable<MethodItem>

writeTo

public abstract boolean writeTo(org.jf.util.IndentingWriter writer)
                         throws java.io.IOException
Throws:
java.io.IOException