use of sun.reflect.generics.factory.GenericsFactory in project jdk8u_jdk by JetBrains.
the class AnnotationParser method parseSig.
private static Class<?> parseSig(String sig, Class<?> container) {
if (sig.equals("V"))
return void.class;
SignatureParser parser = SignatureParser.make();
TypeSignature typeSig = parser.parseTypeSig(sig);
GenericsFactory factory = CoreReflectionFactory.make(container, ClassScope.make(container));
Reifier reify = Reifier.make(factory);
typeSig.accept(reify);
Type result = reify.getResult();
return toClass(result);
}
Aggregations