|
|
@ -22,12 +22,13 @@ val suppress_warnings : string
|
|
|
|
type annotation =
|
|
|
|
type annotation =
|
|
|
|
| Nullable
|
|
|
|
| Nullable
|
|
|
|
| Present
|
|
|
|
| Present
|
|
|
|
|
|
|
|
[@@deriving compare]
|
|
|
|
|
|
|
|
|
|
|
|
(** Method signature with annotations. *)
|
|
|
|
(** Method signature with annotations. *)
|
|
|
|
type annotated_signature = {
|
|
|
|
type annotated_signature = {
|
|
|
|
ret : Annot.Item.t * Typ.t; (** Annotated return type. *)
|
|
|
|
ret : Annot.Item.t * Typ.t; (** Annotated return type. *)
|
|
|
|
params: (Mangled.t * Annot.Item.t * Typ.t) list (** Annotated parameters. *)
|
|
|
|
params: (Mangled.t * Annot.Item.t * Typ.t) list (** Annotated parameters. *)
|
|
|
|
}
|
|
|
|
} [@@deriving compare]
|
|
|
|
|
|
|
|
|
|
|
|
(** Check if the annotated signature is for a wrapper of an anonymous inner class method.
|
|
|
|
(** Check if the annotated signature is for a wrapper of an anonymous inner class method.
|
|
|
|
These wrappers have the same name as the original method, every type is Object, and the parameters
|
|
|
|
These wrappers have the same name as the original method, every type is Object, and the parameters
|
|
|
@ -49,8 +50,6 @@ val annotated_signature_mark_return :
|
|
|
|
val annotated_signature_mark_return_strict :
|
|
|
|
val annotated_signature_mark_return_strict :
|
|
|
|
annotated_signature -> annotated_signature
|
|
|
|
annotated_signature -> annotated_signature
|
|
|
|
|
|
|
|
|
|
|
|
val equal : annotated_signature -> annotated_signature -> bool
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
(** Get a method signature with annotations from a proc_attributes. *)
|
|
|
|
(** Get a method signature with annotations from a proc_attributes. *)
|
|
|
|
val get_annotated_signature : ProcAttributes.t -> annotated_signature
|
|
|
|
val get_annotated_signature : ProcAttributes.t -> annotated_signature
|
|
|
|
|
|
|
|
|
|
|
|