Re: Parsing generics painfully

Mark Raynsford <[email protected]> Thu, 2 Nov 2017 15:15:42 +0000
Newsgroups gmane.comp.java.objectweb.asm
Organization io7m.com
Message-ID <[email protected]>
On 2017-11-02T15:47:11 +0100
Remi Forax <[email protected]> wrote:

> Hi Mark,
> there are several sections about the signature and the SignatureVisitor in the ASM guide [1] (starting at section 4.1)
> i do not know if it's enough ?
> 
> Rémi
> 
> [1] http://download.forge.objectweb.org/asm/asm4-guide.pdf

Hello!

That section explains a lot... I think what my problem might be is that
ASM delivers type signatures as the structures specified in the JVMS,
but I was trying to parse them into the structures specified in the JLS.
That mismatch meant that I was fighting the API the whole time.

I'll redesign the AST and try again.

Thanks!

-- 
Mark Raynsford | http://www.io7m.com
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEgWja4isV0+3HIsI9DxW30G+oDLgFAln7Np4ACgkQDxW30G+o
DLjOERAAjtiSZXNx6PpR1cUnD0KvpFg25KaQPcVg4TckIoKDvT5+x+mbddCNJo0Y
h+l7gZBqwLGiHL0q2S33mztS9TolNm44tIDOz5Vy5FoRROtC+PdQBJtJXEiU5gva
XcaTq4iV7zbSfQ9C0wmq2KI88dpjWLnwVfoEBhVpeT72PopzhvnV2skWY/M7P+uX
tRanu8EaRHMil3NKJlqj8KWvmQPpU1wszqLJwjlsvFu0/R29C9cHDdbXsdch+BBd
zEamH3kCAMobMUM1XU4qIEuokNyWFvA75373bgq2e95YQlrLUmU3wpjMyLYSwuiQ
r6Lm3dnyjt7kk2HjRoUwW1tsLGKU4dh6KQmRJPd5JUeMqV5BlGbef5VR3tgKIDZ3
NKFdJYkXfXqlwvjeqC6QsBEOqYE2Jy0saTsMwkPDGf3xLvua6Irb5tEM/RfOATs8
SOk7WrzP3kz6fR41MFc/YzHfD1zTQomj+j0bwD1HVGuZIz0eD57gJ/T90RLNkk+O
S02ZMudpfPTi3563pGYVB7vt207wwpk3KUPcu1cQXh20+MZXmDVYwiOyrFz4uRUi
cIiVgfKY8JJel215nJcZ6cxXKXXqJr4c6lFc8nn7pWqtSl6vJtOAspdzWAPwQvGQ
jqwwa4B82fv+oQaUgEs04YNk/+dCXNYJDCj8KsPcaWglHYGFP9I=
=Zn9G
-----END PGP SIGNATURE-----