Package sootup.core.signatures
Class FieldSubSignature
java.lang.Object
sootup.core.signatures.SootClassMemberSubSignature
sootup.core.signatures.FieldSubSignature
- All Implemented Interfaces:
Comparable<FieldSubSignature>
public class FieldSubSignature
extends SootClassMemberSubSignature
implements Comparable<FieldSubSignature>
Defines a sub-signature of a field, containing the field name and the type signature.
- Author:
- Jan Martin Persch
-
Constructor Summary
ConstructorsConstructorDescriptionFieldSubSignature(@NonNull String name, @NonNull Type type) Creates a new instance of theFieldSubSignatureclass. -
Method Summary
Modifier and TypeMethodDescriptionintcompareTo(@NonNull FieldSubSignature o) @NonNull StringtoString()voidtoString(StmtPrinter printer)
-
Constructor Details
-
FieldSubSignature
Creates a new instance of theFieldSubSignatureclass.- Parameters:
name- The method name.type- The type signature.
-
-
Method Details
-
compareTo
- Specified by:
compareToin interfaceComparable<FieldSubSignature>
-
toString
- Overrides:
toStringin classSootClassMemberSubSignature
-
toString
- Specified by:
toStringin classSootClassMemberSubSignature
-