com.github.yin.flags.ClassMetadataIndex Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of java-flags Show documentation
Show all versions of java-flags Show documentation
Easy to use command-line parser, which enables you to
define cmdline flags directly the class they are used in.
package com.github.yin.flags;
import com.google.common.collect.Maps;
import java.util.Map;
/**
* Stores metadata for classes scanned by java-flags. This class gives the client direct access
* to the underlying {@link Map} for the time being. Accessing an internal collection directly is
* generally considered dangerous, so this API is not stable yet.
*
* @author yin
*/
public class ClassMetadataIndex {
private final Map classes = Maps.newTreeMap();
// TODO yin: Don't allow direct access to the MAP
public Map classes() {
return classes;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy