Uses of Annotation Interface
io.smallrye.common.constraint.NotNull
-
Uses of NotNull in io.smallrye.common.constraint
Methods in io.smallrye.common.constraint with annotations of type NotNullModifier and TypeMethodDescriptionstatic <T> TAssert.assertHoldsLock(T monitor) Assert that the given monitor is held by the current thread.static <T> TAssert.assertNotHoldsLock(T monitor) Assert that the given monitor is not held by the current thread.static <T> TAssert.assertNotNull(T value) Assert that the value is notnull.static boolean[]Assert.checkNotEmptyParam(String name, boolean[] value) Check that the named parameter is not empty.static byte[]Assert.checkNotEmptyParam(String name, byte[] value) Check that the named parameter is not empty.static double[]Assert.checkNotEmptyParam(String name, double[] value) Check that the named parameter is not empty.static float[]Assert.checkNotEmptyParam(String name, float[] value) Check that the named parameter is not empty.static int[]Assert.checkNotEmptyParam(String name, int[] value) Check that the named parameter is not empty.static long[]Assert.checkNotEmptyParam(String name, long[] value) Check that the named parameter is not empty.static short[]Assert.checkNotEmptyParam(String name, short[] value) Check that the named parameter is not empty.static CharSequenceAssert.checkNotEmptyParam(String name, CharSequence value) Check that the named parameter is not empty.static StringAssert.checkNotEmptyParam(String name, String value) Check that the named parameter is not empty.static <E,T extends Collection<E>>
TAssert.checkNotEmptyParam(String name, T value) Check that the named parameter is not empty.static <K,V, T extends Map<K, V>>
TAssert.checkNotEmptyParam(String name, T value) Check that the named parameter is not empty.static <T> T[]Assert.checkNotEmptyParam(String name, T[] value) Check that the named parameter is not empty.static <T> TAssert.checkNotNullArrayParam(String name, int index, T value) Check that a value within the named array parameter is notnull.static <T> TAssert.checkNotNullParam(String name, T value) Check that the named parameter is notnull.static IllegalStateExceptionAssert.impossibleSwitchCase(char val) Return an exception indicating that the current switch case was intended to be unreachable.static IllegalStateExceptionAssert.impossibleSwitchCase(int val) Return an exception indicating that the current switch case was intended to be unreachable.static IllegalStateExceptionAssert.impossibleSwitchCase(long val) Return an exception indicating that the current switch case was intended to be unreachable.static IllegalStateExceptionAssert.impossibleSwitchCase(Object obj) Return an exception indicating that the current switch case was intended to be unreachable.Assert.unsupported()Return an exception explaining that the caller's method is not supported.Method parameters in io.smallrye.common.constraint with annotations of type NotNullModifier and TypeMethodDescriptionstatic <T> TAssert.assertHoldsLock(T monitor) Assert that the given monitor is held by the current thread.static <T> TAssert.assertNotHoldsLock(T monitor) Assert that the given monitor is not held by the current thread.static IllegalStateExceptionAssert.impossibleSwitchCase(Object obj) Return an exception indicating that the current switch case was intended to be unreachable.