title: Problems generating '.pas' file with Java2OP and compiling it
body: <p>I have 2 JAR files coming from an SDK that I have to use. </p>
  
  <p><strong>Generation problem</strong></p>
  
  <p>I succeeded in generating the first <code>.pas</code> file, but Java2OP fails to generate the second <code>.pas</code> I need, with the message</p>
  
  <blockquote>
    <p>Access violation at address 0042AF4A dans the 'Java2OP.exe' module. Read at address 09D00000</p>
  </blockquote>
  
  <p>Would this come from a common issue? There's no other hints about what causes the problem in the SDK <code>.jar</code>.</p>
  
  <p>I'm using Java2OP located in <code>C:\Program Files (x86)\Embarcadero\Studio\18.0\bin\converters\java2op</code>, but I had to first use the solutions in  <a href="https://stackoverflow.com/questions/41359861/">Delphi 10.1 Berlin - Java2OP: class or interface expected</a> before generating the 1st file.</p>
  
  <p><strong>Compilation problem</strong></p>
  
  <p>Anyway, I tried to generate a <code>.hpp</code> file from the generated <code>.pas</code>.</p>
  
  <p>I don't know much about Delphi. Does the problem come from the SDK itself, or the generation of the <code>.pas</code> file?</p>
  
  <hr>
  
  <p><strong>1st issue solved</strong></p>
  
  <p>Java2OP included <code>Androidapi.JNI.Java.Util</code>
  and not <code>Androidapi.JNI.JavaUtil</code>. I had to import <code>Androidapi.JNI.JavaUtil</code> myself, though it is present in the <code>/Program Files(x86)/Embarcadero/...</code> folders.</p>
  
  <p><strong>2nd issue</strong> </p>
  
  <p>The same 4 compilation errors happen multiple times across the <code>.pas</code> file on parts using the word <code>this</code>.</p>
  
  <p>Do I have to replace every use of <code>this</code> with <code>self</code>?</p>
  
  <p><strong>Errors</strong> </p>
  
  <pre>
  E2023 The function require a type of result : Line 4
  E2147 The property 'this' doesn't exist in the base class : Line 5
  E2029 ',' or ':' awaited but found 'read' identificator : Line 5
  E2029 ',' or ':' awaited but found number : Line 5
  </pre>
  
  <pre><code>[JavaSignature('com/hsm/barcode/DecoderConfigValues$SymbologyFlags')]
  JDecoderConfigValues_SymbologyFlags = interface(JObject)
    ['{BCF30FD2-B650-433C-8A4E-8B638A508487}']
    function _Getthis$0: JDecoderConfigValues; cdecl;
    property this$0: JDecoderConfigValues read _Getthis$0;
  end;
  
  [JavaSignature('com/hsm/barcode/ExposureValues$ExposureSettingsMinMax')]
  JExposureValues_ExposureSettingsMinMax = interface(JObject)
    ['{A576F85F-A021-475C-9741-06D92DBC205F}']
    function _Getthis$0: JExposureValues; cdecl;
    property this$0: JExposureValues read _Getthis$0;
  end;
  </code></pre>