Constructor and Description |
---|
Element() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
safeEquals(java.lang.Object one,
java.lang.Object two)
Safe equality comparison that performs the null-checks.
|
protected int |
safeHashCode(java.lang.Object object)
Safe hash code function that performs the null-check.
|
protected void |
semanticError(java.lang.String message)
Reports a semantic error during model construction.
|
protected boolean safeEquals(java.lang.Object one, java.lang.Object two)
one
- the first object.two
- the second object.protected int safeHashCode(java.lang.Object object)
object
- the object to hash.protected void semanticError(java.lang.String message) throws SemanticError
message
- the error message.SemanticError
- always.