@Internal public class CastCodeBlock extends Object
returnTerm and isNullTerm can be accessed within the external
scope of the returned code. Both returnTerm and isNullTerm can be either
variable names or expressions.| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
String |
getCode() |
String |
getIsNullTerm() |
String |
getReturnTerm() |
int |
hashCode() |
static CastCodeBlock |
withCode(String code,
String returnTerm,
String isNullTerm) |
static CastCodeBlock |
withoutCode(String returnTerm,
String isNullTerm) |
public static CastCodeBlock withoutCode(String returnTerm, String isNullTerm)
public static CastCodeBlock withCode(String code, String returnTerm, String isNullTerm)
public String getCode()
public String getReturnTerm()
public String getIsNullTerm()
Copyright © 2014–2022 The Apache Software Foundation. All rights reserved.