public abstract class RelativeReference extends Reference
| Constructor and Description |
|---|
RelativeReference(Type type,
Reference base)
Create a new relative reference.
|
| Modifier and Type | Method and Description |
|---|---|
Reference |
getBase()
Get this reference's base.
|
boolean |
hasBase()
Determine whether this reference has a base.
|
boolean |
isConstant()
Determine whether this reference represents a compile-time
constant memory location.
|
add, add, difference, getField, getIndex, getLocation, getType, hasField, hasIndex, hasLocation, indirect, isCast, isDynamic, isIndirect, isNull, isPrefix, isStatic, isString, isVariable, subtract, subtract, toString, writeprotected Reference base
public boolean isConstant()
ReferenceisConstant in class Referencetrue if this reference represents a
compile-time memory location.public boolean hasBase()
ReferencehasBase in class Referencetrue if this reference has a base.RelativeReferencepublic Reference getBase()
ReferencegetBase in class ReferenceRelativeReferenceCopyright © 2014. All Rights Reserved.