Make JavassistTypeParameterMatcherGenerator.generate() public
This commit is contained in:
parent
3fc6e02f8b
commit
be695636d2
@ -46,7 +46,7 @@ public final class JavassistTypeParameterMatcherGenerator {
|
||||
classPool.appendClassPath(pathname);
|
||||
}
|
||||
|
||||
static TypeParameterMatcher generate(Class<?> type) {
|
||||
public static TypeParameterMatcher generate(Class<?> type) {
|
||||
ClassLoader classLoader = Thread.currentThread().getContextClassLoader();
|
||||
if (classLoader == null) {
|
||||
classLoader = ClassLoader.getSystemClassLoader();
|
||||
@ -54,7 +54,7 @@ public final class JavassistTypeParameterMatcherGenerator {
|
||||
return generate(type, classLoader);
|
||||
}
|
||||
|
||||
static TypeParameterMatcher generate(Class<?> type, ClassLoader classLoader) {
|
||||
public static TypeParameterMatcher generate(Class<?> type, ClassLoader classLoader) {
|
||||
final String typeName = typeName(type);
|
||||
final String className = "io.netty.util.internal.__matchers__." + typeName + "Matcher";
|
||||
try {
|
||||
|
Loading…
Reference in New Issue
Block a user