public class StaticReference extends VariableReference
| Constructor and Description |
|---|
StaticReference(java.lang.String name,
Type type)
Create a new static reference.
|
StaticReference(Type type)
Create a new anonymous static reference.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
isConstant()
Determine whether this reference represents a compile-time
constant memory location.
|
boolean |
isStatic()
Determine whether this reference is a static reference.
|
getName, hasName, isVariable, writepublic StaticReference(Type type)
type - The declared type.public StaticReference(java.lang.String name,
Type type)
name - The declared name.type - The declared type.public boolean isStatic()
ReferenceisStatic in class Referencetrue if this reference is a static
reference.StaticReferencepublic boolean isConstant()
ReferenceisConstant in class Referencetrue if this reference represents a
compile-time memory location.Copyright © 2014. All Rights Reserved.