diff --git a/androscalpel/src/method.rs b/androscalpel/src/method.rs index 0bf0ba2..50c8d0c 100644 --- a/androscalpel/src/method.rs +++ b/androscalpel/src/method.rs @@ -284,7 +284,7 @@ impl Method { /// If the fields has annotations pub fn has_annotations(&self) -> bool { !self.annotations.is_empty() - || !self + || self .parameters_annotations .iter() .any(|list| !list.is_empty())