com.vladium.emma.data
Class MethodDescriptor
java.lang.Object
com.vladium.emma.data.MethodDescriptor
- All Implemented Interfaces:
- IConstants, IMetadataConstants, java.io.Serializable
- public final class MethodDescriptor
- extends java.lang.Object
- implements IConstants, IMetadataConstants, java.io.Serializable
- Author:
- Vlad Roubtsov, (C) 2003
- See Also:
- Serialized Form
Constructor Summary |
MethodDescriptor(java.lang.String name,
java.lang.String descriptor,
int status,
int[] blockSizes,
int[][] blockMap,
int firstLine)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
m_name
private final java.lang.String m_name
m_descriptor
private final java.lang.String m_descriptor
m_status
private final int m_status
m_blockSizes
private final int[] m_blockSizes
m_blockMap
private final int[][] m_blockMap
m_firstLine
private final int m_firstLine
m_lineMap
private IntObjectMap m_lineMap
MethodDescriptor
public MethodDescriptor(java.lang.String name,
java.lang.String descriptor,
int status,
int[] blockSizes,
int[][] blockMap,
int firstLine)
getName
public java.lang.String getName()
getDescriptor
public java.lang.String getDescriptor()
getStatus
public int getStatus()
getBlockCount
public int getBlockCount()
getBlockSizes
public int[] getBlockSizes()
getBlockMap
public int[][] getBlockMap()
getLineMap
public IntObjectMap getLineMap()
getFirstLine
public int getFirstLine()
hasLineNumberInfo
public boolean hasLineNumberInfo()
toString
public java.lang.String toString()
toString
public java.lang.String toString(java.lang.String indent)
readExternal
static MethodDescriptor readExternal(java.io.DataInput in)
throws java.io.IOException
- Throws:
java.io.IOException
writeExternal
static void writeExternal(MethodDescriptor method,
java.io.DataOutput out)
throws java.io.IOException
- Throws:
java.io.IOException