ist.palcom.disassembler
Class Main.PMethod

java.lang.Object
  extended by ist.palcom.disassembler.Main.PLiteral
      extended by ist.palcom.disassembler.Main.PInvokable
          extended by ist.palcom.disassembler.Main.PMethod
All Implemented Interfaces:
ISerializableInvokable, ISerializableItem, ISerializableLiteral, ISerializableMethod
Enclosing class:
Main

public class Main.PMethod
extends Main.PInvokable
implements ISerializableMethod


Field Summary
 
Fields inherited from interface ist.palcom.bytecode.ISerializableMethod
MARKER
 
Constructor Summary
Main.PMethod(java.lang.String signature, int numberOfLocals, int maximumExpressionStackSize, ISerializableLiteral[] literals, byte[] bytecodes, ISerializableMetaInfo[] meta_info, boolean block_method)
           
 
Method Summary
 Main.PLiteral get_literal(int index)
           
 byte[] getBytecodes()
           
 int[] getLineNumbers()
           
 ISerializableLiteral[] getLiterals()
           
 int getMaximumExpressionStackSize()
           
 ISerializableMetaInfo[] getMetaInfo()
           
 int getNumberOfLocals()
           
 java.lang.String getSignature()
           
 void print_as_argument(Main.Printer out)
           
 void print_as_prefixed_argument(Main.Printer out)
           
 void print_bytecodes(Main.Printer out)
           
 void print(Main.Printer out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Main.PMethod

public Main.PMethod(java.lang.String signature,
                    int numberOfLocals,
                    int maximumExpressionStackSize,
                    ISerializableLiteral[] literals,
                    byte[] bytecodes,
                    ISerializableMetaInfo[] meta_info,
                    boolean block_method)
Method Detail

get_literal

public Main.PLiteral get_literal(int index)

print_bytecodes

public void print_bytecodes(Main.Printer out)

print

public void print(Main.Printer out)
Specified by:
print in class Main.PInvokable

print_as_argument

public void print_as_argument(Main.Printer out)
Specified by:
print_as_argument in class Main.PLiteral

print_as_prefixed_argument

public void print_as_prefixed_argument(Main.Printer out)
Specified by:
print_as_prefixed_argument in class Main.PLiteral

getNumberOfLocals

public int getNumberOfLocals()
Specified by:
getNumberOfLocals in interface ISerializableMethod

getMaximumExpressionStackSize

public int getMaximumExpressionStackSize()
Specified by:
getMaximumExpressionStackSize in interface ISerializableMethod

getLiterals

public ISerializableLiteral[] getLiterals()
Specified by:
getLiterals in interface ISerializableMethod

getMetaInfo

public ISerializableMetaInfo[] getMetaInfo()
Specified by:
getMetaInfo in interface ISerializableMethod

getBytecodes

public byte[] getBytecodes()
Specified by:
getBytecodes in interface ISerializableMethod

getLineNumbers

public int[] getLineNumbers()

getSignature

public java.lang.String getSignature()
Specified by:
getSignature in interface ISerializableInvokable