Fix an API bug in the JavassistTypeParameterMatcherGenerator where some of its methods are not static
- Related issue: #1402
This commit is contained in:
parent
51ca4f3e91
commit
0d1567da0b
@ -38,11 +38,11 @@ public final class JavassistTypeParameterMatcherGenerator {
|
|||||||
classPool.appendClassPath(new ClassClassPath(NoOpTypeParameterMatcher.class));
|
classPool.appendClassPath(new ClassClassPath(NoOpTypeParameterMatcher.class));
|
||||||
}
|
}
|
||||||
|
|
||||||
public void appendClassPath(ClassPath classpath) {
|
public static void appendClassPath(ClassPath classpath) {
|
||||||
classPool.appendClassPath(classpath);
|
classPool.appendClassPath(classpath);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void appendClassPath(String pathname) throws NotFoundException {
|
public static void appendClassPath(String pathname) throws NotFoundException {
|
||||||
classPool.appendClassPath(pathname);
|
classPool.appendClassPath(pathname);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user