Class Undefined

java.lang.Object
groovy.transform.Undefined

public final class Undefined
extends java.lang.Object
Java doesn't allow you to have null as an attribute value. It wants you to indicate what you really mean by null, so that is what we do here - as ugly as it is.
  • Nested Class Summary

    Nested Classes
    Modifier and Type Class Description
    static class  Undefined.CLASS  
    static class  Undefined.EXCEPTION  
  • Field Summary

    Fields
    Modifier and Type Field Description
    static java.lang.String STRING  
  • Method Summary

    Modifier and Type Method Description
    static boolean isUndefined​(java.lang.String other)  
    static boolean isUndefined​(ClassNode other)  
    static boolean isUndefinedException​(ClassNode other)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Method Details

    • isUndefined

      public static boolean isUndefined​(java.lang.String other)
    • isUndefined

      public static boolean isUndefined​(ClassNode other)
    • isUndefinedException

      public static boolean isUndefinedException​(ClassNode other)