T - The type of the definable object.public static class ByteBuddy.Definable.Undefined<T> extends Object implements ByteBuddy.Definable<T>
ByteBuddy.Definable.ByteBuddy.Definable.Defined<T>, ByteBuddy.Definable.Undefined<T>| Constructor and Description |
|---|
Undefined() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object other) |
int |
hashCode() |
boolean |
isDefined()
Checks if this value is explicitly defined.
|
T |
resolve(T defaultValue)
Returns the value of this instance or the provided default value for an undefined definable.
|
String |
toString() |
public T resolve(T defaultValue)
ByteBuddy.Definableresolve in interface ByteBuddy.Definable<T>defaultValue - The default value that is returned for an ByteBuddy.Definable.Undefined
definable.public boolean isDefined()
ByteBuddy.DefinableisDefined in interface ByteBuddy.Definable<T>true if this value is defined.Copyright © 2014–2015. All rights reserved.