title: Iterating over arrays by reflection
body: <p>I am doing some reflection work and go to a little problem.</p>
  
  <p>I am trying to print objects to some GUI tree and have problem detecting arrays in a generic way.</p>
  
  <p>I suggested that :</p>
  
  <blockquote>
    <p>object instanceof Iterable</p>
  </blockquote>
  
  <p>Would make the job ,but it does not, (obviously applies only to Lists and Set and whoever implements it.)</p>
  
  <p>So how is that i would recognice an Array Some <code>Object[]</code> , Or <code>long[]</code> or <code>Long[]</code> .. ?</p>
  
  <p>Thanks </p>