user&gt; (def class-def (gtol/gen-ast-class-def test-ast))
#'user/class-def
user&gt; class-def
{:name tech.v3.datatype.GToL2TTOffFBcastFTrivLastST,
 :interfaces [tech.v3.datatype.LongReader],
 :fields
 [{:flags #{:public :final}, :name "shape1", :type :long}
  {:flags #{:public :final}, :name "shapeEcountStride0", :type :long}
  {:flags #{:public :final}, :name "stride0", :type :long}
  {:flags #{:public :final}, :name "nElems", :type :long}],
 :methods
 [{:flags #{:public},
   :name :init,
   :desc [[Ljava