package bluej.parser.entity;

import bluej.debugger.gentype.JavaType;


| An entity to represent a constant string value. | | @author Davin McCall | public class ConstantStringEntity extends ValueEntity{ private String value;
| Construct a constant string entity | @param stringType A representation of the "java.lang.String" type | * @param value The string value */ public ConstantStringEntity(JavaType stringType, String value) { super(stringType); this.value = value.intern(); } | |
@Override | |
public boolean isConstantString() | | { | | return true; | | } | | @Override | | public String getConstantString() | | { | | return value; | | } | | }
top, use, map, class ConstantStringEntity




8 neLoCode + 15 LoComm