public static boolean compareAnnotatedParameters ( AnnotatedParameter < ? > p1 , AnnotatedParameter < ? > p2 ) { return compareAnnotatedCallable ( p1 . getDeclaringCallable ( ) , p2 . getDeclaringCallable ( ) ) && p1 . getPosition ( ) == p2 . getPosition ( ) && compareAnnotated ( p1 , p2 ) ; }
Compares two annotated parameters and returns true if they are equal