title: Unchecked Cast: Map Output is firing unchecked cast warning
body: <p>I have the following line of code:</p>
  
  <pre><code>List&lt;String&gt; variandIds=(List&lt;String&gt;)parameters.get(AnalysisConstants.VARIANT_LOOKUPS_ID_LIST);
  </code></pre>
  
  <p>it fires the following warning: <code>Unchecked cast 'java.lang.Object' to 'java.util.List&lt;java.lang.String&gt;'</code></p>
  
  <p><code>parameters</code> here is a map. </p>
  
  <p>I need to get rid of the warning so I want to figure out a way to check the value of the list
  now I could use <code>@SuppressWarnings("unchecked")</code> but I don't want to I want to solve the problem rather than ignore it.</p>