Fix an API bug in the JavassistTypeParameterMatcherGenerator where some of its methods are not static

- Related issue: #1402