EgorKulikov / idea-chelper

Automatically exported from code.google.com/p/idea-chelper
112 stars 59 forks source link

Auxillary array in helper class becomes a primitive in production code #59

Closed lancehaoh closed 6 years ago

lancehaoh commented 6 years ago

There is an issue with CHelper when generating output code.

In particular, code of the following form will have problem:

public class Main { }

public HelperClass { int arr[]; }

In the output file "Main.java" generated by CHelper, HelperClass becomes a static class and arr[] object will become "int arr" instead of "int arr[]"

EgorKulikov commented 6 years ago

Will not fix, please do not use c++ style array declaration, use int[] arr;