|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--soot.AbstractHost | +--soot.SootField
Soot representation of a Java field. Can be declared to belong to a SootClass.
Constructor Summary | |
SootField(java.lang.String name,
Type type)
Constructs a Soot field with the given name, type and no modifiers. |
|
SootField(java.lang.String name,
Type type,
int modifiers)
Constructs a Soot field with the given name, type and modifiers. |
Method Summary | |
int |
equivHashCode()
Returns a (not necessarily fixed) hash code for this object. |
boolean |
equivTo(java.lang.Object o)
Returns true if this object is equivalent to o. |
java.lang.String |
getDeclaration()
|
SootClass |
getDeclaringClass()
Returns the SootClass declaring this one. |
int |
getModifiers()
Returns modifiers of this class member. |
java.lang.String |
getName()
|
java.lang.String |
getSignature()
|
java.lang.String |
getSubSignature()
|
Type |
getType()
|
boolean |
isDeclared()
|
boolean |
isPhantom()
|
boolean |
isPrivate()
Convenience class returning true if this class member is private. |
boolean |
isProtected()
Convenience class returning true if this class member is protected. |
boolean |
isPublic()
Convenience class returning true if this class member is public. |
void |
setModifiers(int modifiers)
Sets modifiers of this class member. |
void |
setName(java.lang.String name)
|
void |
setPhantom(boolean value)
|
void |
setType(Type t)
|
java.lang.String |
toString()
|
Methods inherited from class soot.AbstractHost |
destroyTag,
getTag,
getTags,
getTagValue,
hasTag,
incTagValue,
incTagValue,
incTagValue,
newTag,
newTag,
setTagValue |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
Constructor Detail |
public SootField(java.lang.String name, Type type, int modifiers)
public SootField(java.lang.String name, Type type)
Method Detail |
public boolean equivTo(java.lang.Object o)
public int equivHashCode()
public java.lang.String getName()
public java.lang.String getSignature()
public java.lang.String getSubSignature()
public SootClass getDeclaringClass()
public boolean isPhantom()
public void setPhantom(boolean value)
public boolean isDeclared()
public void setName(java.lang.String name)
public Type getType()
public void setType(Type t)
public boolean isPublic()
public boolean isProtected()
public boolean isPrivate()
public void setModifiers(int modifiers)
public int getModifiers()
public java.lang.String toString()
public java.lang.String getDeclaration()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |