title: Proguard removing Set decleration which then causes Collection has neither generic type or OneToMany.targetEntity() defined
body: <p>Prior to Proguard my code looks like this:</p>
  <pre><code>@OneToMany(cascade = CascadeType.ALL, fetch = FetchType.LAZY, mappedBy = &quot;scenarioProjectCompoundId.project&quot;)
  private Set&lt;ScenarioProject&gt; scenarioProjects = new HashSet&lt;ScenarioProject&gt;();
      
  </code></pre>
  <p>After Proguard my code looks like this:</p>
  <pre><code>@OneToMany(cascade = {CascadeType.ALL}, fetch = FetchType.LAZY, mappedBy = &quot;scenarioProjectCompoundId.project&quot;)
  private Set scenarioProjects = new HashSet();
  
  </code></pre>
  <p>As it has removed the decleration from the Set then am getting:</p>
  <pre><code>Collection has neither generic type or OneToMany.targetEntity() 
  </code></pre>
  <p>Is there a way to stop Proguard from stripping this out? Or an alternative/better option?</p>