-
public final class ByteCodeUtils.MethodSignature
Represents a method signature and its 3 parts; A name, a description(parameters) and a (optional) return type.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public class
ByteCodeUtils.MethodSignature.Companion
-
Constructor Summary
Constructors Constructor Description ByteCodeUtils.MethodSignature(String name, String desc, String returnType)
Constructs a MethodSignature with the given name, description, and return type.
-
Method Summary
Modifier and Type Method Description final String
getName()
final String
getDesc()
final String
getReturnType()
final Boolean
matches(ByteCodeUtils.MethodSignature other)
Checks if the name and description of the other Signature match this one. -
-
Method Detail
-
getReturnType
final String getReturnType()
-
matches
final Boolean matches(ByteCodeUtils.MethodSignature other)
Checks if the name and description of the other Signature match this one.
- Parameters:
other
- The signature to match against.
-
-
-
-