private void createFirstSequenceInterface ( ClassWriter classWriter , String className , String nextTypeName , String apiName , List < XsdElement > elements ) { elements . forEach ( element -> generateSequenceMethod ( classWriter , className , getJavaType ( element . getType ( ) ) , getCleanName ( element . getName ( ) ) , className , nextTypeName , apiName ) ) ; elements . forEach ( element -> createElement ( element , apiName ) ) ; }
Adds a method to the element which contains the sequence .