|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object soot.tagkit.AbstractHost
public class AbstractHost
This class is the reference implementation for the Host interface, which allows arbitrary taggable data to be stored with Soot objects.
Constructor Summary | |
---|---|
AbstractHost()
|
Method Summary | |
---|---|
void |
addAllTagsOf(Host h)
Adds all the tags from h to this host. |
void |
addTag(Tag t)
add tag t to this host |
Tag |
getTag(String aName)
get the Tag object named aName |
List<Tag> |
getTags()
get the list of tags. |
boolean |
hasTag(String aName)
look if this host has a tag named aName |
void |
removeAllTags()
Removes all the tags from this host. |
void |
removeTag(String aName)
remove the tag named aName |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AbstractHost()
Method Detail |
---|
public List<Tag> getTags()
getTags
in interface Host
public void removeTag(String aName)
aName
removeTag
in interface Host
public Tag getTag(String aName)
aName
getTag
in interface Host
public boolean hasTag(String aName)
aName
hasTag
in interface Host
public void addTag(Tag t)
t
to this host
addTag
in interface Host
public void removeAllTags()
removeAllTags
in interface Host
public void addAllTagsOf(Host h)
addAllTagsOf
in interface Host
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |