public static boolean compareSignatures ( String plainSignature , String genericSignature ) { GenericSignatureParser plainParser = new GenericSignatureParser ( plainSignature ) ; GenericSignatureParser genericParser = new GenericSignatureParser ( genericSignature ) ; return plainParser . getNumParameters ( ) == genericParser . getNumParameters ( ) ; }
Compare a plain method signature to the a generic method Signature and return true if they match