public class ImmutableStringReference extends BaseStringReference implements ImmutableReference
Reference.InvalidReferenceException| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
str |
| Constructor and Description |
|---|
ImmutableStringReference(java.lang.String str) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getString()
Gets the referenced string.
|
static ImmutableStringReference |
of(StringReference stringReference) |
charAt, compareTo, equals, hashCode, length, subSequence, toStringvalidateReferenceclone, finalize, getClass, notify, notifyAll, wait, wait, waitvalidateReference@Nonnull public static ImmutableStringReference of(@Nonnull StringReference stringReference)
@Nonnull public java.lang.String getString()
StringReferencegetString in interface StringReference