I’ve read couple threads / haxe manual and know it not exist. But I still have couple questions for “private” simulate workaround.
OpenFL uses “__” prefix for inner fields which shouldn’t be touch on develop. Also HaxeDevelop hides list of this “__” fields from autocompletion and that fields seem not marked as “@:noCompletion”. So how they made that hiding possible?
On the other hand I might develop core classes and run “find and replace” for like ‘private var _’ -> ‘@:noCompletion private var _’. Is there any better workaround (not learned haxe macroses yet)?
What if subclasses should have same named real “private” fields like method “_init”. How you, guys, solve that issue? Naming “_initMyClass” looks pretty silly… Also for class name refactoring I should manualy rename that “_init” function at each class for proper readability. Is there any metatag I’ve missed which may provide autorename functionality? Like rename subclass method “_init” to “_initSomeRandomValue” during compile time.