public final class StringLiteral extends Object
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
static StringLiteral |
forValue(String value)
Returns a new
StringLiteral instance for the intended value of the literal. |
int |
hashCode() |
String |
literal() |
String |
toString() |
String |
value() |
public static StringLiteral forValue(String value)
StringLiteral
instance for the intended value of the literal.public String value()
public String literal()
Copyright © 2015 Square, Inc.. All rights reserved.