private ClassWriter generateInnerSequenceClass(String typeName, String className, String apiName) {
        ClassWriter classWriter = generateClass(typeName, JAVA_OBJECT, new String[] {CUSTOM_ATTRIBUTE_GROUP}, getClassSignature(new String[]{CUSTOM_ATTRIBUTE_GROUP}, typeName, apiName), ACC_PUBLIC + ACC_SUPER, apiName);

        generateClassMethods(classWriter, typeName, className, apiName, false);

        return classWriter;
    }
private ClassWriter generateInnerSequenceClass ( String typeName , String className , String apiName ) { ClassWriter classWriter = generateClass ( typeName , JAVA_OBJECT , new String [ ] { CUSTOM_ATTRIBUTE_GROUP } , getClassSignature ( new String [ ] { CUSTOM_ATTRIBUTE_GROUP } , typeName , apiName ) , ACC_PUBLIC + ACC_SUPER , apiName ) ; generateClassMethods ( classWriter , typeName , className , apiName , false ) ; return classWriter ; }
Creates the inner classes that are used to support the sequence behaviour.
@param typeName The name of the next type to return.
@param className The name of the class which contains the sequence.
@param apiName The name of the generated fluent interface.
@return The {@link ClassWriter} object which represents the inner class created to support sequence behaviour.