Package soot
Interface ClassMember
-
- All Known Implementing Classes:
SootField,SootMethod
public interface ClassMemberProvides methods common to Soot objects belonging to classes, namely SootField and SootMethod.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SootClassgetDeclaringClass()Returns the SootClass declaring this one.intgetModifiers()Returns modifiers of this class member.booleanisDeclared()Returns true when some SootClass object declares this object.booleanisPhantom()Returns true when this object is from a phantom class.booleanisPrivate()Convenience method returning true if this class member is private.booleanisProtected()Convenience method returning true if this class member is protected.booleanisPublic()Convenience method returning true if this class member is public.booleanisStatic()Convenience method returning true if this class member is static.voidsetModifiers(int modifiers)Sets modifiers of this class member.voidsetPhantom(boolean value)Sets the phantom flag
-
-
-
Method Detail
-
getDeclaringClass
SootClass getDeclaringClass()
Returns the SootClass declaring this one.
-
isDeclared
boolean isDeclared()
Returns true when some SootClass object declares this object.
-
isPhantom
boolean isPhantom()
Returns true when this object is from a phantom class.
-
setPhantom
void setPhantom(boolean value)
Sets the phantom flag
-
isProtected
boolean isProtected()
Convenience method returning true if this class member is protected.
-
isPrivate
boolean isPrivate()
Convenience method returning true if this class member is private.
-
isPublic
boolean isPublic()
Convenience method returning true if this class member is public.
-
isStatic
boolean isStatic()
Convenience method returning true if this class member is static.
-
setModifiers
void setModifiers(int modifiers)
Sets modifiers of this class member.
-
getModifiers
int getModifiers()
Returns modifiers of this class member.
-
-