objective-c to java_‎Objective-C to Java - O2J automatic source code translator on the Mac App Store...

O2J automates one way conversion of Objective-C source code to Java. It greatly reduces development time when porting Objective-C to Java. We estimate 80% time savings for most projects.

Pro Access In App Purchase lets you translate entire projects without any limit on files, lines of code per file or line length.

WARNING: Do not expect the tool to produce completely error free Java code! You will likely need to spend time to customize and optimize the conversion settings for your project to reduce the number of errors. Some code may not be translatable and will require manual conversion. We recommend testing every function of your converted code to make sure the translated code works as expected. That said, we believe the tool greatly reduces the time necessary for porting tasks for the vast majority of cases!

The tool is highly sophisticated and customizable. You can customize type mappings from Objective-C to Java as well as method mappings with an easy to use template system. Conversion is super fast is run directly on your Mac.

Here are some of the translator features...

-Translates Implementations/Interfaces to Classes

-Translates Protocols to Interfaces

-Translates @property to getters and setters

-Converts init methods to constructors

-Supports NSDictionary and NSArray @{... : ...} and @[...] literals.

-Preserves formatting and comments inside your methods.

-Includes mappings for commonly used types and methods.

-Converts Blocks to generated Java interface equivalents

-Translates Methods with support for methods with multiple parameters

-Infers types for common Java collections: HashMap, ArrayList, HashSet

-Gathers type information from user specified header files to improve conversion.

-Allows manual customization of generated code using @Converted, @Ported and @Porting class/interface annotations.

-Supports code using ARC or manual memory management.

If you're new to Java you may find this tool valuable as a aid for learning Java if you have Objective-C experience.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值