All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.yin.cli.ClassMetadata Maven / Gradle / Ivy

Go to download

Easy to use command-line parser, which enables you to define cmdline flags directly the class they are used in.

The newest version!
package com.github.yin.cli;

import com.google.auto.value.AutoValue;

import javax.annotation.Nullable;

/**
 * Stores description and other flag attributes.
 * @author yin
 */
@AutoValue
public abstract class ClassMetadata {
    public static  ClassMetadata create(String className, String desc) {
        return new AutoValue_ClassMetadata(className, desc);
    }
    public abstract String className();
    @Nullable public abstract String desc();
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy