jef.disconnection.impl
Class DefaultDisconnectedMethod

java.lang.Object
  extended by jef.disconnection.impl.DefaultDisconnectedField
      extended by jef.disconnection.impl.DefaultDisconnectedMethod
All Implemented Interfaces:
DisconnectedField, DisconnectedMethod, DisconnectedStructure

public class DefaultDisconnectedMethod
extends DefaultDisconnectedField
implements DisconnectedMethod

Default implementation of the DisconnectedMethod interface.

Author:
frusso@dev.java.net

Field Summary
 
Fields inherited from class jef.disconnection.impl.DefaultDisconnectedField
attributes, constantPoolTable, fields, innerClasses, srcClassFqn
 
Constructor Summary
DefaultDisconnectedMethod()
          Creates a new instance of DefaultDisconnectedMethod
 
Method Summary
 void addMethod(MethodInfoStructure mi)
          Adds one more MethodInfoStructure to the current DisconnectedMethod instance.
 MethodsTable getMethods()
          Gets the MethodsTable instance containing all the extracted methods.
 void setMethods(MethodsTable mt)
          Sets the MethodsTable instance containing all the extracted methods.
 
Methods inherited from class jef.disconnection.impl.DefaultDisconnectedField
addAttribute, addField, addInnerClass, getAttributes, getConstantPoolTable, getFields, getInnerClasses, getSrcClassFqn, setConstantPoolTable, setFields, setSrcClassFqn
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface jef.disconnection.DisconnectedField
addAttribute, addField, addInnerClass, getAttributes, getConstantPoolTable, getFields, getInnerClasses, getSrcClassFqn, setConstantPoolTable, setFields, setSrcClassFqn
 

Constructor Detail

DefaultDisconnectedMethod

public DefaultDisconnectedMethod()
                          throws InstantiatorException
Creates a new instance of DefaultDisconnectedMethod

Throws:
InstantiatorException
Method Detail

setMethods

public void setMethods(MethodsTable mt)
Sets the MethodsTable instance containing all the extracted methods.

Specified by:
setMethods in interface DisconnectedMethod
Parameters:
mt - The MethodsTable instance

getMethods

public MethodsTable getMethods()
Gets the MethodsTable instance containing all the extracted methods.

Specified by:
getMethods in interface DisconnectedMethod
Returns:
MethodsTable The MethodsTable instance

addMethod

public void addMethod(MethodInfoStructure mi)
               throws InstantiatorException
Adds one more MethodInfoStructure to the current DisconnectedMethod instance.

Specified by:
addMethod in interface DisconnectedMethod
Parameters:
mi - The MethodInfoStructure to be added
Throws:
InstantiatorException