Uses of Annotation Type
org.wildfly.common.annotation.NotNull
Packages that use NotNull
Package
Description
Common classes for a variety of purposes.
Types related to management of contextual objects.
Classes which provide basic lock types.
Classes which create XML related factories with safe defaults.
-
Uses of NotNull in org.wildfly.common
Methods in org.wildfly.common 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 <T> TAssert.checkNotNullParamWithNullPointerException(String name, T value) Check that the named parameter is notnull, using aNullPointerExceptionas some specifications require.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 org.wildfly.common 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. -
Uses of NotNull in org.wildfly.common.context
Methods in org.wildfly.common.context with annotations of type NotNullModifier and TypeMethodDescriptionContextual.getInstanceContextManager()Get the context manager for this object.ContextPermission.withActions(String actions) Create a copy of this permission with the additional given actions.ContextPermission.withoutActions(String actions) Create a copy of this permission without any of the given actions. -
Uses of NotNull in org.wildfly.common.lock
Methods in org.wildfly.common.lock with annotations of type NotNullModifier and TypeMethodDescriptionstatic ExtendedLockLocks.reentrantLock()Create a standard reentrantExtendedLockwith the default fairness policy.static ExtendedLockLocks.reentrantLock(boolean fair) Create a standard reentrantExtendedLockwith the given fairness policy.static ExtendedLockLocks.spinLock()Create a spin lock. -
Uses of NotNull in org.wildfly.common.xml
Methods in org.wildfly.common.xml with annotations of type NotNullModifier and TypeMethodDescriptionstatic DocumentBuilderFactoryDocumentBuilderFactoryUtil.create()Factory generated with secure defaults.static SAXParserFactorySAXParserFactoryUtil.create()static TransformerFactoryTransformerFactoryUtil.create()static XMLInputFactoryXMLInputFactoryUtil.create()Factory generated with secure defaults.static XMLReaderXMLReaderFactoryUtil.create()Factory generated with secure defaults.