public class NullReference extends Reference
| Modifier and Type | Field and Description |
|---|---|
static NullReference |
NULL
The canonical null reference.
|
| Modifier and Type | Method and Description |
|---|---|
java.math.BigInteger |
getLocation(C ops)
Get this reference's absolute memory location.
|
boolean |
hasLocation()
Determine whether this reference has an absolute memory location.
|
boolean |
isConstant()
Determine whether this reference represents a compile-time
constant memory location.
|
boolean |
isNull()
Determine whether this reference is a null reference.
|
void |
write(java.lang.Appendable out)
Write a human readable representation to the specified
appendable.
|
public static final NullReference NULL
public boolean isNull()
ReferenceNULL may still
return true; notably, an index reference with a null
base and a zero offset still is null.isNull in class Referencetrue if this reference is a null
reference.NullReferencepublic boolean hasLocation()
ReferencehasLocation in class Referencetrue if this reference has an absolute
memory location.public java.math.BigInteger getLocation(C ops)
ReferencegetLocation in class Referenceops - The C operations.public boolean isConstant()
ReferenceisConstant in class Referencetrue if this reference represents a
compile-time memory location.public void write(java.lang.Appendable out)
throws java.io.IOException
ReferenceCopyright © 2014. All Rights Reserved.