Package sootup.core.signatures
Class MethodSubSignature
java.lang.Object
sootup.core.signatures.SootClassMemberSubSignature
sootup.core.signatures.MethodSubSignature
- All Implemented Interfaces:
Comparable<MethodSubSignature>
public class MethodSubSignature
extends SootClassMemberSubSignature
implements Comparable<MethodSubSignature>
Defines a method sub-signature, containing the method name, the parameter type signatures, and
the return type signature.
- Author:
- Jan Martin Persch
-
Constructor Summary
ConstructorDescriptionMethodSubSignature
(String name, Iterable<? extends Type> parameterTypes, Type type) Creates a new instance of theFieldSubSignature
class. -
Method Summary
Modifier and TypeMethodDescriptionint
boolean
Gets the parameters in an immutable list.int
hashCode()
toString()
void
toString
(StmtPrinter printer) Methods inherited from class sootup.core.signatures.SootClassMemberSubSignature
compareTo, getName, getType
-
Constructor Details
-
MethodSubSignature
public MethodSubSignature(@Nonnull String name, @Nonnull Iterable<? extends Type> parameterTypes, @Nonnull Type type) Creates a new instance of theFieldSubSignature
class.- Parameters:
name
- The method name.parameterTypes
- The signatures of the method parameters.type
- The return type signature.
-
-
Method Details
-
getParameterTypes
Gets the parameters in an immutable list.- Returns:
- The value to get.
-
equals
- Overrides:
equals
in classSootClassMemberSubSignature
-
hashCode
public int hashCode()- Overrides:
hashCode
in classSootClassMemberSubSignature
-
compareTo
- Specified by:
compareTo
in interfaceComparable<MethodSubSignature>
-
toString
- Overrides:
toString
in classSootClassMemberSubSignature
-
toString
- Specified by:
toString
in classSootClassMemberSubSignature
-