WIP: Updating Setter/Getter code generation, need some assistance from JetBrains or Intellij plug-in guru

I have been attempting to fix the Haxe getter/setter generator.  The current functionality doesn't match the Haxe3 documentation: 
http://haxe.org/manual/class-field-property-rules.html. 

I was able to modify the code to create the correct variable with "get" and "set" arguments, and I was able to update the get_method and set_methods names, but I can not figure out how todo two last steps.
1) Set the HaxeVarDeclarationPart instance to be "public" if is not.
2) Append "@:isVar" before "public var...".  In CreateGetterSetterFix.java you can see my failed attempt.

Thanks,
Hays