[Java] Class Undefined
- groovy.transform.Undefined
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
Modifiers | Name | Description |
---|---|---|
static class | Undefined.CLASS |
Field Summary
Modifiers | Name | Description |
---|---|---|
static String | STRING |
Methods Summary
Type Params | Return Type | Name and description |
---|---|---|
static boolean |
isUndefined(String other) | |
static boolean |
isUndefined(ClassNode other) |
Inherited Methods Summary
Methods inherited from class | Name |
---|---|
class Object | wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
Field Detail
public static final String STRING
Method Detail
public static boolean isUndefined(String other)
public static boolean isUndefined(ClassNode other)
© 2003-2020 The Apache Software Foundation
Licensed under the Apache license.
https://docs.groovy-lang.org/2.4.21/html/gapi/groovy/transform/Undefined.html