<commit_before>/*
 * Copyright 2017 <NAME>
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package io.michaelrocks.lightsaber.processor

import ch.qos.logback.classic.Level
import com.beust.jcommander.Parameter
import com.beust.jcommander.converters.FileConverter
import java.io.File

data class LightsaberParameters(
    @Parameter(names = ["--inputs"], description = "Jar files and/or class directories to process")
    var inputs: List<File> = emptyList(),
    @Parameter(
        names = ["--outputs"],
        description = "Output jar files and/or class directories matching inputs"
    )
    var outputs: List<File> = emptyList(),
    @Parameter(
        names = ["--classpath"],
        listConverter = FileConverter::class, description = "Classpath",
        variableArity = true
    )
    var classpath: List<File> = emptyList(),
    @Parameter(
        names = ["--bootclasspath"],
        listConverter = FileConverter::class, description = "Boot classpath",
        variableArity = true
    )
    var bootClasspath: List<File> = emptyList(),
    @Parameter(names = ["--source"], description = "Output directory for .java files")
    var source: File? = null,
    @Parameter(names = ["--gen"], description = "Output directory for generated .class files")
    var gen: File? = null,
    @Parameter(names = ["-i", "--info"], description = "Enable detailed logging")
    var info: Boolean = false,
    @Parameter(names = ["-d", "--debug"], description = "Enable verbose logging")<commit_msg>Get rid of an obsolete parameter in LightsaberParameters<commit_after>/*
 * Copyright 2017 <NAME>
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package io.michaelrocks.lightsaber.processor

import ch.qos.logback.classic.Level
import com.beust.jcommander.Parameter
import com.beust.jcommander.converters.FileConverter
import java.io.File

data class LightsaberParameters(
    @Parameter(names = ["--inputs"], description = "Jar files and/or class directories to process")
    var inputs: List<File> = emptyList(),
    @Parameter(
        names = ["--outputs"],
        description = "Output jar files and/or class directories matching inputs"
    )
    var outputs: List<File> = emptyList(),
    @Parameter(
        names = ["--classpath"],
        listConverter = FileConverter::class, description = "Classpath",
        variableArity = true
    )
    var classpath: List<File> = emptyList(),
    @Parameter(
        names = ["--bootclasspath"],
        listConverter = FileConverter::class, description = "Boot classpath",
        variableArity = true
    )
    var bootClasspath: List<File> = emptyList(),
    @Parameter(names = ["--gen"], description = "Output directory for generated .class files")
    var gen: File? = null,
    @Parameter(names = ["-i", "--info"], description = "Enable detailed logging")
    var info: Boolean = false,
    @Parameter(names = ["-d", "--debug"], description = "Enable verbose logging")
{'fraction_non_alphanumeric': 0.11552072800808898, 'fraction_numerical': 0.004044489383215369, 'mean_word_length': 3.517123287671233, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 13, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, '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': '5940165', 'n_tokens_mistral': 1064, 'n_tokens_neox': 1038, 'n_words': 384}