| |
|
| java.lang.Object xtc.type.Reference xtc.type.StringReference
StringReference | public class StringReference extends Reference (Code) | | Representation of a reference to a constant string. A string
reference neither has a base nor an offset.
author: Robert Grimm version: $Revision: 1.8 $ |
StringReference | public StringReference(String literal, Type type)(Code) | | Create a new string reference. The specified type must be a
valid character type.
Parameters: literal - The string literal. Parameters: type - The literal's declared type. throws: IllegalArgumentException - Signals that the type is not astring type. |
getLiteral | public String getLiteral()(Code) | | Get this string reference's literal.
The literal. |
hashCode | public int hashCode()(Code) | | |
isConstant | public boolean isConstant()(Code) | | |
isString | public boolean isString()(Code) | | |
|
|
|