gg.neko.spiceit.util.SpiceItUtils Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of spiceit-api Show documentation
Show all versions of spiceit-api Show documentation
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);
}
}