Package soot
Interface ClassMember
-
- All Known Implementing Classes:
SootField
,SootMethod
public interface ClassMember
Provides 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 SootClass
getDeclaringClass()
Returns the SootClass declaring this one.int
getModifiers()
Returns modifiers of this class member.boolean
isDeclared()
Returns true when some SootClass object declares this object.boolean
isPhantom()
Returns true when this object is from a phantom class.boolean
isPrivate()
Convenience method returning true if this class member is private.boolean
isProtected()
Convenience method returning true if this class member is protected.boolean
isPublic()
Convenience method returning true if this class member is public.boolean
isStatic()
Convenience method returning true if this class member is static.void
setModifiers(int modifiers)
Sets modifiers of this class member.void
setPhantom(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.
-
-