Class TypeElementUtils


  • public final class TypeElementUtils
    extends java.lang.Object
    Some util methods.
    Since:
    4.8.3
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static boolean isNullable​(io.micronaut.inject.ast.TypedElement element)
      Checks Nullable annotions / optinal type to understand that the element can be null.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • isNullable

        public static boolean isNullable​(io.micronaut.inject.ast.TypedElement element)
        Checks Nullable annotions / optinal type to understand that the element can be null.
        Parameters:
        element - typed element
        Returns:
        true if element is nullable, false - otherwise.