O2J - Objective-C to Java automatic source code translator

O2J - Objective-C to Java automatic source code translator

By StockSpy Apps Inc.

  • Category: Developer Tools
  • Release Date: 2015-05-10
  • Current Version: 1.3
  • Adult Rating: 4+
  • File Size: 4.22 MB
  • Developer: StockSpy Apps Inc.
  • Compatibility: Requires iOS 10.9 or later.

Description

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. 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.

Screenshots

Reviews

  • Null pointer exception

    1
    By BrianSeattle17
    The converter appears broken. Everything I tried produced a null pointer exception error. No helpful feedback. No converted code. Just a Java error.

keyboard_arrow_up