net.yudichev.jiotty.common.inject.GuiceUtil Maven / Gradle / Ivy
package net.yudichev.jiotty.common.inject;
import com.google.inject.name.Names;
import java.lang.annotation.Annotation;
import java.util.UUID;
@SuppressWarnings("WeakerAccess") // it's a library
public final class GuiceUtil {
private GuiceUtil() {
}
public static Annotation uniqueAnnotation() {
return Names.named(UUID.randomUUID().toString());
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy