Make JavassistTypeParameterMatcherGenerator.generate() public

This commit is contained in:
Trustin Lee 2013-06-12 08:17:17 +09:00
parent 3fc6e02f8b
commit be695636d2

View File

@ -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 {