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
 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.
 

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.


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.