Class StringConstant

java.lang.Object
sootup.core.jimple.common.constant.StringConstant
All Implemented Interfaces:
EquivTo, Immediate, Value, Constant, Acceptor<ConstantVisitor>

public class StringConstant extends Object implements Constant
  • Constructor Details

    • StringConstant

      public StringConstant(@NonNull String str, @NonNull Type type)
  • Method Details

    • equals

      public boolean equals(Object c)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Returns a hash code for this StringConstant object.
      Overrides:
      hashCode in class Object
    • getType

      public @NonNull Type getType()
      Description copied from interface: Value
      Returns the Soot type of this Value.
      Specified by:
      getType in interface Value
    • accept

      public <V extends ConstantVisitor> V accept(@NonNull V v)
      Description copied from interface: Acceptor
      Called when this object is visited.
      Specified by:
      accept in interface Acceptor<ConstantVisitor>
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getValue

      public String getValue()