Class RIFLDocument.JavaMethodSourceSinkSpec

Direct Known Subclasses:
RIFLDocument.JavaParameterSpec, RIFLDocument.JavaReturnValueSpec
Enclosing class:
RIFLDocument

public abstract class RIFLDocument.JavaMethodSourceSinkSpec extends RIFLDocument.JavaSourceSinkSpec
Abstract base class for source/sink specifications on methods
  • Constructor Details

    • JavaMethodSourceSinkSpec

      public JavaMethodSourceSinkSpec(RIFLDocument.SourceSinkType type, String className, String halfSignature)
      Creates a new instance of the JavaSourceSinkSpec class
      Parameters:
      type - Specifies whether this element is a source or a sink
      className - The name of the class containing the parameter to be defined as a source or sink.
  • Method Details

    • getHalfSignature

      public String getHalfSignature()
      Gets the method name and the formal parameters with fully-qualified names in brackets. This is like a Soot subsignature, except for the return type which is omitted.
      Returns:
      The method name and the method's fully qualified parameter list
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class RIFLDocument.JavaSourceSinkSpec
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class RIFLDocument.JavaSourceSinkSpec