MethodInfo (String desc, String[] exceptions) { MethodInfo result = new MethodInfo(); result.typeParameters = TypeParametersDeclaration.EMPTY; result.returnType = toTypeInfo(Type.getReturnType(desc), myFirstPassData); result.argTypes = ContainerUtil.map(Type.getArgumentTypes(desc), type -> toTypeInfo(type, myFirstPassData)); result.throwTypes = myFirstPassData.createTypes(exceptions); return result; }