55 Commits

Author SHA1 Message Date
Volker Berlin
b11ad30ecb Ignore native methods without import annotation in replacement classes as placeholder 2022-03-19 17:38:23 +01:00
Volker Berlin
1864f438cd Normalize try catch tables 2021-10-31 14:14:56 +01:00
Volker Berlin
59789cd424 Normalize try catch tables 2021-10-31 14:13:53 +01:00
Volker Berlin
8fccc94615 Replace native methods with methods from partial classes. 2021-05-30 11:52:09 +02:00
Volker Berlin
e54fa767c1 add isEnum() 2021-05-30 11:30:43 +02:00
Volker Berlin
f97b24a933 API Doc 2021-05-02 14:03:25 +02:00
Volker Berlin
d271ac1a2f Parse annotations with arrays 2021-04-03 22:07:48 +02:00
Volker Berlin
1771ab1f39 Add support for Lambda expressions with parameters 2021-04-03 22:06:39 +02:00
Volker Berlin
4e375e2f0e fix some warnings 2021-03-20 21:00:15 +01:00
Volker Berlin
740b7a8c19 add a variable slot for THIS parameter to lambda methods to increment the variable index. 2021-01-24 18:41:01 +01:00
Volker Berlin
c1869baee5 add THIS parameter to lambda methods 2021-01-24 13:49:23 +01:00
Volker Berlin
3e42160655 implement more Lambda stuff 2021-01-23 22:16:16 +01:00
JCWasmx86
8cc81dcffe Typo, replaced crlf with lf in some files 2020-05-25 16:40:25 +02:00
JCWasmx86
c7afbd4691
Update ConstantPool.java 2020-05-24 13:52:54 +02:00
Volker Berlin
d3acc3698f Add isAbstract() 2020-05-10 15:35:26 +02:00
Volker Berlin
820a4ac6df On Class replacement also patch the local variable signatures. 2020-04-26 14:06:31 +02:00
Volker Berlin
561dc37540 improve Class Replacement, also the class in method signatures was replaced 2020-04-04 11:18:25 +02:00
Volker Berlin
16f49f3078 add isAbstract() 2020-03-16 21:48:32 +01:00
Volker Berlin
3989070fe0 improve Class replacement 2020-03-14 23:00:51 +01:00
Volker Berlin
8264897215 fix JavaDoc 2020-02-27 11:25:41 +01:00
Volker Berlin
f64ed4feee API doc 2020-01-26 12:39:00 +01:00
Volker Berlin
45b5a4a955 InvokeDynamic, WIP 2020-01-25 21:17:42 +01:00
Volker Berlin
4872dd137a Add support for partial classes 2020-01-19 15:15:01 +01:00
Volker Berlin
735aadbab4 fix NPE 2020-01-12 16:59:02 +01:00
Volker Berlin
d103f97c04 replace also a class with annotation 2020-01-03 19:51:58 +01:00
Volker Berlin
525a2f2f87 change the static ClassFile cache to an instance cache 2020-01-02 15:15:21 +01:00
Volker Berlin
f32a1ac067 add getAnnotation() to classFile 2020-01-02 13:12:48 +01:00
Volker Berlin
6511ab372f fix ClassCast with InvokeDynamic constant 2019-11-26 19:26:09 +01:00
Volker Berlin
431d5f5a4a parse InvokeDynamic constants 2019-10-26 12:23:36 +02:00
Volker Berlin
833cd8c80a handle MODULE and PACKAGE constant on the pool (module-info.class) 2019-10-14 21:51:54 +02:00
Volker Berlin
275db31ab3 Pass maxLocals ever to the LocalVariableTable 2019-06-21 21:47:20 +02:00
Volker Berlin
f0d3027553 Replace a function name in call with its supper method if real target name does not exists. 2019-05-12 18:38:11 +02:00
Volker Berlin
a8d11b5b68 use weak cache for ClassFiles 2019-05-07 21:16:30 +02:00
Volker Berlin
9653520c2b Rewrite the LocalVariableManager to handle the Java reuse of a variable slot with different type. 2019-04-14 14:29:09 +02:00
Volker Berlin
03a5c36ace API doc 2019-04-06 17:49:28 +02:00
Volker Berlin
40d61c56a8 support for more as 255 variable slots added. 2019-03-13 22:09:21 +01:00
Volker Berlin
9d1e4ef6f3 improve getAnnotation(String) 2019-02-24 14:49:36 +01:00
Volker Berlin
b4ca501f4c Does not save reused variables. Does not increment the maxLocals count. 2019-02-17 09:54:47 +01:00
Volker Berlin
c9ce8eb60b add getType() 2019-01-01 14:24:01 +01:00
Volker Berlin
11b8dcb3be add getFields() 2019-01-01 11:43:49 +01:00
Volker Berlin
c6897d8bf4 simplify the internal API 2018-11-18 13:22:45 +01:00
Volker Berlin
101b759acb Add the Member interface to generalize the API usage 2018-11-10 10:46:36 +01:00
Volker
e6093fa495 fix JavaDoc 2018-06-10 21:00:51 +02:00
Volker Berlin
ecd61dcde7 Use a single CoeInputStream pro method instead chucks pro line number 2018-06-03 11:54:45 +02:00
Volker Berlin
3e207615ac add method getAnnotation 2018-05-30 18:31:17 +02:00
Volker Berlin
babff867ae ignore reuse variable 2018-05-02 19:53:34 +02:00
Volker Berlin
e633fc79b5 Returns CodeInputStream as list now. 2018-03-27 20:01:45 +02:00
Volker Berlin
bebfbd06d3 ApiDoc 2018-03-20 20:33:03 +01:00
Volker Berlin
0803c290c5 add getDeclaringClassFile() 2018-03-20 20:30:57 +01:00
Volker Berlin
68aaa5c589 add getPosition() to LocalVariable 2017-04-09 22:21:47 +02:00