Annotation Interface MethodId
An annotation used to uniquely identify a specific method by assigning it an integer ID.
This annotation is processed at the source level and is typically used in interfaces annotated
with
ShizukuInterface or similar use cases.
Each method within a single interface must have a unique ID to avoid duplication errors.
-
Required Element Summary
Required Elements
-
Element Details
-
value
int valueReturns the unique integer ID that identifies a method annotated withMethodId. This ID must be unique within a single interface to prevent duplication errors.- Returns:
- the unique method identifier as an integer
-