sofya.ed.semantic
Class SemanticEventData

java.lang.Object
  extended by sofya.ed.semantic.SemanticEventData

public class SemanticEventData
extends java.lang.Object

Contains information generated by the instrumentor which is necessary for the semantic event dispatcher to operate.

This class will contain a string table and a compiled version of the module description, and other information as needed.

Version:
12/09/2005
Author:
Alex Kinneer

Method Summary
 EventSpecification getEventSpecification()
          Gets the module description.
 java.util.Map getInterceptors()
          Gets the names of all of the interceptor methods added by the instrumentor.
 java.lang.String getString(int index)
          Gets a string from the string table.
 java.lang.String[] getStringTable()
          Gets a copy of the full string table.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getEventSpecification

public EventSpecification getEventSpecification()
Gets the module description.

Returns:
An ADT containing the compiled representation of the module description file that was supplied to the instrumentor.

getInterceptors

public java.util.Map getInterceptors()
Gets the names of all of the interceptor methods added by the instrumentor.

Returns:
A map from class names to sets containing the names of the inserted interceptors.

getString

public java.lang.String getString(int index)
Gets a string from the string table.

Parameters:
index - Index to the desired string in the string table.
Returns:
The string corresponding to the given index.

getStringTable

public java.lang.String[] getStringTable()
Gets a copy of the full string table.

Returns:
The complete string table. Changes to this array will not be reflected internally.