Package pascal.taie.ir.proginfo
Class MemberRef
java.lang.Object
pascal.taie.ir.proginfo.MemberRef
- All Implemented Interfaces:
Serializable
Represents references to class members in IR.
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetName()
boolean
isStatic()
abstract ClassMember
resolve()
abstract ClassMember
-
Constructor Details
-
MemberRef
-
-
Method Details
-
getDeclaringClass
- Returns:
- the declaring class of the reference.
-
getName
-
isStatic
public boolean isStatic() -
resolve
- Returns:
- the concrete class member pointed by this reference.
- Throws:
ResolutionFailedException
- if the class member cannot be resolved.
-
resolveNullable
- Returns:
- the concrete class member pointed by this reference, or null if the member cannot be resolved.
-