|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DisconnectedMethod
This interface represents the set of information needed to fully describe a Java class' method. A
DisconnectedMethod
is used to "extract" a method definition from a Java class in
order to inject it into another Java class, modifying the receiving class behaviour.
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 interface jef.disconnection.DisconnectedField |
---|
addAttribute, addField, addInnerClass, getAttributes, getConstantPoolTable, getFields, getInnerClasses, getSrcClassFqn, setConstantPoolTable, setFields, setSrcClassFqn |
Method Detail |
---|
void setMethods(MethodsTable mt)
MethodsTable
instance containing all the extracted methods.
mt
- The MethodsTable
instanceMethodsTable getMethods()
MethodsTable
instance containing all the extracted methods.
MethodsTable
instancevoid addMethod(MethodInfoStructure mi) throws InstantiatorException
MethodInfoStructure
to the current
DisconnectedMethod
instance.
mi
- The MethodInfoStructure
to be added
InstantiatorException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |