|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--soot.tagkit.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()
|
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()
Returns true when some SootClass object declares this object. |
boolean |
isFinal()
Convenience method returning true if this field is final. |
boolean |
isPhantom()
Returns true when this object is from a phantom class. |
boolean |
isPrivate()
Convenience method returning true if this field is private. |
boolean |
isProtected()
Convenience method returning true if this field is protected. |
boolean |
isPublic()
Convenience method returning true if this field is public. |
boolean |
isStatic()
Convenience method returning true if this field is static. |
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.tagkit.AbstractHost |
addAllTagsOf,
addTag,
getTag,
getTags,
hasTag,
removeAllTags,
removeTag |
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 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 boolean isStatic()
public boolean isFinal()
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 |