title: How to verify a java VariableElement can be passed to an ExecutableElement?
body: <p>If I have a <code>javax.lang.model.element.VariableElement</code> that represents a variable of type <code>List&lt;SomeObject&gt;</code>, and an <code>javax.lang.model.element.ExecutableElement</code> that represents a method with one argument of type <code>List&lt;? extends SomeObject&gt;</code>, how can I verify that my variable type can be passed into my method type?</p>
  
  <p>I started to try and write a <code>javax.lang.model.type.TypeVisitor</code> to try and compare types ignoring wildcard types, but I'm not sure if there's an easier way. </p>