|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--edu.ucsb.ccs.jcontractor.transformation.MethodSet
A simple container to hold MethodGen objects. Basically, just a specialized hashtable.
| Constructor Summary | |
MethodSet()
Create an empty method set. |
|
| Method Summary | |
org.apache.bcel.generic.MethodGen |
getMethod(java.lang.String name,
java.lang.String signature)
Retrieve a method from the set. |
void |
putMethod(org.apache.bcel.generic.MethodGen mg)
Put a method into the set. |
void |
removeMethod(java.lang.String name,
java.lang.String signature)
Remove a method from the set. |
int |
size()
Get the number of methods in the set. |
org.apache.bcel.generic.MethodGen[] |
toArray()
Get an array representation of the methods in the set. |
java.lang.String |
toString()
Get a string representation of the method set. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public MethodSet()
| Method Detail |
public void putMethod(org.apache.bcel.generic.MethodGen mg)
mg - the method to add or replace.
public org.apache.bcel.generic.MethodGen getMethod(java.lang.String name,
java.lang.String signature)
name - the name of the method to retrieve.signature - the signature of the method to retrieve.
public void removeMethod(java.lang.String name,
java.lang.String signature)
name - the name of the method to remove.signature - the signature of the method to remove.public int size()
public org.apache.bcel.generic.MethodGen[] toArray()
public java.lang.String toString()
toString in class java.lang.Object
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||