Jitrino.MethodDesc Class Reference

#include <VMInterface.h>

Inheritance diagram for Jitrino.MethodDesc:

Jitrino.TypeMemberDesc List of all members.

Detailed Description

Method representation for resolved methods.


Public Member Functions

 MethodDesc (Method_Handle m, JIT_Handle jit, CompilationInterface *ci=NULL, uint32 id=0)
const char * getName () const
const char * getSignatureString () const
void printFullName (::std::ostream &os)
Class_Handle getParentHandle () const
bool isPrivate () const
bool isStatic () const
bool isInstance () const
bool isNative () const
bool isSynchronized () const
bool isNoInlining () const
bool isFinal () const
bool isVirtual () const
bool isAbstract () const
bool isStrict () const
bool isClassInitializer () const
bool isInstanceInitializer () const
const Byte * getByteCodes () const
uint32 getByteCodeSize () const
uint16 getMaxStack () const
uint32 getNumHandlers () const
void getHandlerInfo (unsigned index, unsigned *beginOffset, unsigned *endOffset, unsigned *handlerOffset, unsigned *handlerClassIndex) const
bool hasAnnotation (NamedType *type) const
Byte * getInfoBlock () const
uint32 getInfoBlockSize () const
Byte * getCodeBlockAddress (int32 id) const
uint32 getCodeBlockSize (int32 id) const
Method_Side_Effects getSideEffect () const
void setSideEffect (Method_Side_Effects mse)
void setNumExceptionHandler (uint32 numHandlers)
void setExceptionHandlerInfo (uint32 exceptionHandlerNumber, Byte *startAddr, Byte *endAddr, Byte *handlerAddr, NamedType *exceptionType, bool exceptionObjIsDead)
bool isOverridden () const
uint32 getOffset () const
void * getIndirectAddress () const
void * getNativeAddress () const
uint32 getNumVars () const
Method_Handle getMethodHandle () const
void * getHandleMap () const
void setHandleMap (void *hndMap)
uint32 getNumParams () const
Type * getParamType (uint32 paramIndex) const
Type * getReturnType () const


Constructor & Destructor Documentation

Jitrino.MethodDesc.MethodDesc ( Method_Handle  m,
JIT_Handle  jit,
CompilationInterface ci = NULL,
uint32  id = 0 
)


Member Function Documentation

const char* Jitrino.MethodDesc.getName (  )  const [virtual]

Implements Jitrino.TypeMemberDesc.

const char* Jitrino.MethodDesc.getSignatureString (  )  const [virtual]

Implements Jitrino.TypeMemberDesc.

void Jitrino.MethodDesc.printFullName ( ::std::ostream &  os  )  [virtual]

Implements Jitrino.TypeMemberDesc.

Class_Handle Jitrino.MethodDesc.getParentHandle (  )  const [virtual]

Implements Jitrino.TypeMemberDesc.

bool Jitrino.MethodDesc.isPrivate (  )  const [virtual]

Implements Jitrino.TypeMemberDesc.

bool Jitrino.MethodDesc.isStatic (  )  const [virtual]

Implements Jitrino.TypeMemberDesc.

bool Jitrino.MethodDesc.isInstance (  )  const

bool Jitrino.MethodDesc.isNative (  )  const

bool Jitrino.MethodDesc.isSynchronized (  )  const

bool Jitrino.MethodDesc.isNoInlining (  )  const

bool Jitrino.MethodDesc.isFinal (  )  const

bool Jitrino.MethodDesc.isVirtual (  )  const

bool Jitrino.MethodDesc.isAbstract (  )  const

bool Jitrino.MethodDesc.isStrict (  )  const

bool Jitrino.MethodDesc.isClassInitializer (  )  const

bool Jitrino.MethodDesc.isInstanceInitializer (  )  const

const Byte* Jitrino.MethodDesc.getByteCodes (  )  const

uint32 Jitrino.MethodDesc.getByteCodeSize (  )  const

uint16 Jitrino.MethodDesc.getMaxStack (  )  const

uint32 Jitrino.MethodDesc.getNumHandlers (  )  const

void Jitrino.MethodDesc.getHandlerInfo ( unsigned  index,
unsigned *  beginOffset,
unsigned *  endOffset,
unsigned *  handlerOffset,
unsigned *  handlerClassIndex 
) const

bool Jitrino.MethodDesc.hasAnnotation ( NamedType *  type  )  const

Byte* Jitrino.MethodDesc.getInfoBlock (  )  const

uint32 Jitrino.MethodDesc.getInfoBlockSize (  )  const

Byte* Jitrino.MethodDesc.getCodeBlockAddress ( int32  id  )  const

uint32 Jitrino.MethodDesc.getCodeBlockSize ( int32  id  )  const

Method_Side_Effects Jitrino.MethodDesc.getSideEffect (  )  const

void Jitrino.MethodDesc.setSideEffect ( Method_Side_Effects  mse  ) 

void Jitrino.MethodDesc.setNumExceptionHandler ( uint32  numHandlers  ) 

void Jitrino.MethodDesc.setExceptionHandlerInfo ( uint32  exceptionHandlerNumber,
Byte *  startAddr,
Byte *  endAddr,
Byte *  handlerAddr,
NamedType *  exceptionType,
bool  exceptionObjIsDead 
)

bool Jitrino.MethodDesc.isOverridden (  )  const

uint32 Jitrino.MethodDesc.getOffset (  )  const

void* Jitrino.MethodDesc.getIndirectAddress (  )  const

void* Jitrino.MethodDesc.getNativeAddress (  )  const

uint32 Jitrino.MethodDesc.getNumVars (  )  const

Method_Handle Jitrino.MethodDesc.getMethodHandle (  )  const

void* Jitrino.MethodDesc.getHandleMap (  )  const

void Jitrino.MethodDesc.setHandleMap ( void *  hndMap  ) 

uint32 Jitrino.MethodDesc.getNumParams (  )  const

Type* Jitrino.MethodDesc.getParamType ( uint32  paramIndex  )  const

Type* Jitrino.MethodDesc.getReturnType (  )  const


The documentation for this class was generated from the following file:

Genereated on Tue Mar 11 19:25:40 2008 by Doxygen.

(c) Copyright 2005, 2008 The Apache Software Foundation or its licensors, as applicable.