private ConstructorDef < ? > parseConstructorDef ( final AvroConstructorDef def , final boolean isInjectable ) { final List < ConstructorArg > args = new ArrayList <> ( ) ; for ( final AvroConstructorArg arg : def . getConstructorArgs ( ) ) { args . add ( new ConstructorArgImpl ( getString ( arg . getFullArgClassName ( ) ) , getString ( arg . getNamedParameterName ( ) ) , arg . getIsInjectionFuture ( ) ) ) ; } return new ConstructorDefImpl <> ( getString ( def . getFullClassName ( ) ) , args . toArray ( new ConstructorArg [ 0 ] ) , isInjectable ) ; }
Parse the constructor definition .