java-haxe-extern-creator
java-haxe-extern-creator copied to clipboard
Static and instance methods with same name
Example
Java Source:
public String doSomething() {
return "do something";
}
public static int doSomething() {
return 1;
}
Compiles to:
@:overload(function():String{})
public static function doSomething():Int;
Explaination
This means both functions will be considered static in Haxe. However, this cannot be fixed without different syntax for haxe overloads.