title: Pass POJO in paramater
body: <p>Assuming this is my pojo:</p>
  
  <pre><code>public class POJOFoo{}
  public class POJOFoo2{}
  </code></pre>
  
  <p>Assuming this is my method and i want to either use the same method to 
  display POJOFoo and POJOFoo2.</p>
  
  <pre><code>public void Foo(Object pojofoo/pojofoo2) {
      ObservableList&lt;pojofoo/pojofoo2&gt; observableDescriptions = 
           FXCollections.observableArrayList(new LinkedList&lt;&gt;());
  }
  </code></pre>
  
  <p>I'm seriously out of imagination of how can I find solution on this situation. Thanks for the help.</p>