Re: Some suggestions
Remi Forax <[email protected]> Fri, 5 Jun 2020 15:43:53 +0200 (CEST)
| Newsgroups | gmane.comp.java.objectweb.asm |
|---|---|
| Message-ID | <[email protected]> |
This is a multi-part message in MIME format... ------------=_1591365046-19591-12 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable This was ask as a gitlab issue but given that it's more a discussion, i move it to the mailing list > Aura Lee wrote: > It is pretty annoying that some classes like Subroutine are final and non= -public. Because of that, I cannot extend the Analyzer class. > You may think that users won't need to extend the Analyzer class because = there is an > Interpreter interface, but in my case need it, > as i want to handle edges of jumps with a known outcome differently. The = same applies to MethodWriter and other classes. > > Another thing that bothers me is that InvokeDynamicInsnNode has a public = bsmArgs[], but ConstantDynamic only has a private one with get / set method= s. > This is pretty annoying when i want to iterate over the args. > > Also think about implementing those methods in the Type class: > public Type toArray(int dimensions) > public static Type getOpcodeReturnType(int opcode) > public static Type[] getOpcodeArgumentTypes(int opcode) > public static Type getGenericType(int sort) R=C3=A9mi ------------=_1591365046-19591-12 Content-Type: text/plain; charset="UTF-8" Content-Disposition: inline Content-Transfer-Encoding: 8bit -- You receive this message as a subscriber of the [email protected] mailing list. To unsubscribe: mailto:[email protected] For general help: mailto:[email protected]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws ------------=_1591365046-19591-12--