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
ConstructorsConstructorDescriptionMethodSubSignature(@NonNull String name, @NonNull Iterable<? extends Type> parameterTypes, @NonNull Type type) Creates a new instance of theFieldSubSignatureclass. -
Method Summary
Modifier and TypeMethodDescriptionintcompareTo(@NonNull MethodSubSignature o) booleanGets the parameters in an immutable list.inthashCode()@NonNull StringtoString()voidtoString(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 theFieldSubSignatureclass.- 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:
equalsin classSootClassMemberSubSignature
-
hashCode
public int hashCode()- Overrides:
hashCodein classSootClassMemberSubSignature
-
compareTo
- Specified by:
compareToin interfaceComparable<MethodSubSignature>
-
toString
- Overrides:
toStringin classSootClassMemberSubSignature
-
toString
- Specified by:
toStringin classSootClassMemberSubSignature
-