|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectsoot.tagkit.AbstractHost
soot.SootField
Soot representation of a Java field. Can be declared to belong to a SootClass.
| Constructor Summary | |
SootField(String name,
Type type)
Constructs a Soot field with the given name, type and no modifiers. |
|
SootField(String name,
Type type,
int modifiers)
Constructs a Soot field with the given name, type and modifiers. |
|
| Method Summary | |
int |
equivHashCode()
|
String |
getDeclaration()
|
SootClass |
getDeclaringClass()
Returns the SootClass declaring this one. |
int |
getModifiers()
Returns modifiers of this class member. |
String |
getName()
|
int |
getNumber()
|
String |
getSignature()
|
static String |
getSignature(SootClass cl,
String name,
Type type)
|
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. |
SootFieldRef |
makeRef()
|
void |
setModifiers(int modifiers)
Sets modifiers of this class member. |
void |
setName(String name)
|
void |
setNumber(int number)
|
void |
setPhantom(boolean value)
|
void |
setType(Type t)
|
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(String name,
Type type,
int modifiers)
public SootField(String name,
Type type)
| Method Detail |
public int equivHashCode()
public String getName()
public String getSignature()
public static String getSignature(SootClass cl,
String name,
Type type)
public String getSubSignature()
public SootClass getDeclaringClass()
ClassMember
getDeclaringClass in interface ClassMemberpublic boolean isPhantom()
ClassMember
isPhantom in interface ClassMemberpublic void setPhantom(boolean value)
public boolean isDeclared()
ClassMember
isDeclared in interface ClassMemberpublic void setName(String name)
public Type getType()
public void setType(Type t)
public boolean isPublic()
isPublic in interface ClassMemberpublic boolean isProtected()
isProtected in interface ClassMemberpublic boolean isPrivate()
isPrivate in interface ClassMemberpublic boolean isStatic()
isStatic in interface ClassMemberpublic boolean isFinal()
public void setModifiers(int modifiers)
ClassMember
setModifiers in interface ClassMemberpublic int getModifiers()
ClassMember
getModifiers in interface ClassMemberpublic String toString()
public String getDeclaration()
public final int getNumber()
getNumber in interface Numberablepublic final void setNumber(int number)
setNumber in interface Numberablepublic SootFieldRef makeRef()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||