<commit_before><?xml version="1.0"?>
<template
    format="4"
    revision="1"
    name="Moxy activity"
    description="MVP activity constructor"
    minApi="7"
    minBuildApi="8">

    <category value="Moxy" />

    <dependency name="android-support-v4" revision="8" />

    <parameter
        id="className"
        name="Activity Name"
        type="string"
        constraints="class|nonempty|unique"
        default="BlankActivity"
        help="The name of the activity class to create" />
     <parameter
        id="useSubPackage"
        name="Use sub package?"
        type="boolean"
        default="true"
        help="Add generated classes to specified package" />
        
    <parameter
        id="subPackage"
        name="Package name"
        type="string"
        default="blank"
        visibility="useSubPackage"
        help="Package name" />

    <parameter
        id="includeLayout"
        name="Create layout XML?"
        type="boolean"
        default="true"
        help="Generate a layout XML for the activity" />

    <parameter
        id="includeView"
        name="Create View?"
        type="boolean"
        default="true"
        help="Generate a view for the activity" />

    <parameter
        id="includePresenter"
        name="Create Presenter?"
        type="boolean"
        default="true"
        help="Generate a presenter for the activity" />

    <parameter
        id="superClass"
        name="Base Activity"
        type="enum"
        default="baseActivity"
        help="if choose BaseActivity, please add your_package_name/ui/activity/BaseActivity otherwise MvpActivity" >
        <option id="baseActivity">BaseActivity</option>
        <option id="appCompat">MvpAppCompatActivity</option>
        <option id="activity">MvpActivity</option>
    </parameter>
<commit_msg>create parameter for generate provides presenter method<commit_after><?xml version="1.0"?>
<template
    format="4"
    revision="1"
    name="Moxy activity"
    description="MVP activity constructor"
    minApi="7"
    minBuildApi="8">

    <category value="Moxy" />

    <dependency name="android-support-v4" revision="8" />

    <parameter
        id="className"
        name="Activity Name"
        type="string"
        constraints="class|nonempty|unique"
        default="BlankActivity"
        help="The name of the activity class to create" />
     <parameter
        id="useSubPackage"
        name="Use sub package?"
        type="boolean"
        default="true"
        help="Add generated classes to specified package" />
        
    <parameter
        id="subPackage"
        name="Package name"
        type="string"
        default="blank"
        visibility="useSubPackage"
        help="Package name" />

    <parameter
        id="includeLayout"
        name="Create layout XML?"
        type="boolean"
        default="true"
        help="Generate a layout XML for the activity" />

    <parameter
        id="includeView"
        name="Create View?"
        type="boolean"
        default="true"
        help="Generate a view for the activity" />

    <parameter
        id="includePresenter"
        name="Create Presenter?"
        type="boolean"
        default="true"
        help="Generate a presenter for the activity" />

    <parameter
        id="createProvidesMethod"
        name="Create Custom Provides Presenter Method?"
        type="boolean"
        default="true"
        help="Generate a method for provides presenter" />

    <parameter
        id="superClass"
        name="Base Activity"
        type="enum"
        default="baseActivity"
        help="if choose BaseActivity, please add your_package_name/ui/activity/BaseActivity otherwise MvpActivity" >
        <option id="baseActivity">BaseActivity</option>
        <option id="appCompat">MvpAppCompatActivity</option>
        <option id="activity">MvpActivity</option>
    </parameter>

{'fraction_non_alphanumeric': 0.1153157760163641, 'fraction_numerical': 0.004091025313219126, 'mean_word_length': 2.3987836663770636, 'pattern_counts': {'":': 0, '<': 40, '<?xml version=': 2, '>': 40, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5619754', 'n_tokens_mistral': 1035, 'n_tokens_neox': 1023, 'n_words': 247}