public class RefUnResState extends AbstractRefState
| Constructor and Description |
|---|
RefUnResState(java.lang.String value)
Constructor, just sets fields.
|
| Modifier and Type | Method and Description |
|---|---|
void |
accept(RefStateVisitor vis)
accept method for visitor pattern.
|
boolean |
equals(java.lang.Object obj) |
NamedVariableType |
getType()
Returns the field type, if it is an RefResState, else an exception is thrown.
|
int |
hashCode() |
getValuepublic RefUnResState(java.lang.String value)
value - The value to set.public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic NamedVariableType getType() throws ReferenceIsUnresolvedException
AbstractRefStategetType in class AbstractRefStateReferenceIsUnresolvedException - If the state isnt a RefResState.public void accept(RefStateVisitor vis) throws TypeDoesNotExistException, TypeExceptions
AbstractRefStateaccept in class AbstractRefStatevis - the visitor.TypeDoesNotExistException - if a part is not resolvableTypeExceptions - if a cycle is detected or ReferenceIsUnresolved