org.codehaus.enunciate.bytecode
Class InstrumentationInfo

java.lang.Object
  extended by org.codehaus.enunciate.bytecode.InstrumentationInfo

public class InstrumentationInfo
extends java.lang.Object

Author:
Ryan Heaton

Constructor Summary
protected InstrumentationInfo()
           
  InstrumentationInfo(java.util.Map<MethodKey,java.lang.String[]> parameterNames)
           
 
Method Summary
 java.util.Set<java.lang.String> getInstrumentedClasses()
          The class names of all instrumented classes.
 java.util.Map<MethodKey,java.lang.String[]> getParameterNames()
          Map of methods to parameter names.
static InstrumentationInfo loadFrom(java.io.InputStream in)
          Load the instrumentation info from the specified input stream.
 void writeTo(java.io.OutputStream out)
          Write this instrumentation info to a file.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InstrumentationInfo

protected InstrumentationInfo()

InstrumentationInfo

public InstrumentationInfo(java.util.Map<MethodKey,java.lang.String[]> parameterNames)
Method Detail

loadFrom

public static InstrumentationInfo loadFrom(java.io.InputStream in)
Load the instrumentation info from the specified input stream.

Parameters:
in - The input stream.
Returns:
The instrumentation info.

writeTo

public void writeTo(java.io.OutputStream out)
Write this instrumentation info to a file.

Parameters:
out - The file to which to write this instrumentation info.

getParameterNames

public java.util.Map<MethodKey,java.lang.String[]> getParameterNames()
Map of methods to parameter names.

Returns:
The map of method keys to parameter names.

getInstrumentedClasses

public java.util.Set<java.lang.String> getInstrumentedClasses()
The class names of all instrumented classes.

Returns:
The class names of all instrumented classes.