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

gg.neko.spiceit.util.SpiceItUtils Maven / Gradle / Ivy

Go to download

SpiceIt Application Programming Interface exposes SpiceIt features to the world.

The newest version!
package gg.neko.spiceit.util;

import gg.neko.spiceit.annotation.LogIt;
import gg.neko.spiceit.annotation.TimeIt;

import java.lang.annotation.Annotation;
import java.util.Arrays;
import java.util.List;

/**
 * Common utility methods for SpiceIt.
 */
public class SpiceItUtils {

    private SpiceItUtils() {
        throw new UnsupportedOperationException("do not instantiate this class");
    }

    /**
     * Returns what annotations are currently exposed by this version of SpiceIt.
     *
     * @return a {@link List} of available SpiceIt annotations
     */
    public static List> spiceItAnnotations() {
        return Arrays.asList(TimeIt.class,
                             LogIt.class);
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy