Changes between Version 85 and Version 86 of j2p


Ignore:
Timestamp:
Jun 10, 2024, 9:57:37 AM (16 months ago)
Author:
wouter
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • j2p

    v85 v86  
    7171Fields in Java have to be initialized in the {{{__init__}}} function in the python translation.
    7272
    73 Overloaded methods can not be handled by default python and need to be handled using an external library {{{plum-dispatch==2.2.2}}} and result in additional {{{@dispatch}}} annotations  in the translated code. If you use overloading, you need to have plum installed to run your code. Check also the #@NonNull section.
     73=== Overloading methods
     74Overloaded methods can not be handled by default python. To support it, an external library {{{plum-dispatch==2.2.2}}} is used. If you use overloading, you need to have plum installed to run your code. Check also the #@NonNull section.
     75
     76When a method is overloaded, the translator adds {{{@dispatch}}} annotations  in the translated code as required by plum.
     77
     78 
    7479
    7580