public class LocalInstance_c extends VarInstance_c implements LocalInstance
LocalInstance
contains type information for a local variable.constantValue, constantValueSet, decl, flags, isConstant, name, type
position, ts
Modifier | Constructor and Description |
---|---|
protected |
LocalInstance_c()
Used for deserializing types.
|
|
LocalInstance_c(TypeSystem ts,
Position pos,
Flags flags,
Type type,
java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
LocalInstance |
constantValue(java.lang.Object constantValue) |
boolean |
equalsImpl(TypeObject o)
Default implementation is pointer equality.
|
LocalInstance |
flags(Flags flags) |
boolean |
isCanonical()
Return true if the type object contains no unknown/ambiguous types.
|
LocalInstance |
name(java.lang.String name) |
LocalInstance |
notConstant() |
LocalInstance |
orig() |
java.lang.String |
toString() |
LocalInstance |
type(Type type) |
constantValue, constantValueSet, declaration, flags, hashCode, isConstant, name, setConstantValue, setDeclaration, setFlags, setName, setNotConstant, setType, type
copy, equals, position, typeSystem
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
constantValue, constantValueSet, flags, isConstant, name, setConstantValue, setFlags, setName, setNotConstant, setType, type
declaration, setDeclaration
position, typeSystem
protected LocalInstance_c()
public LocalInstance_c(TypeSystem ts, Position pos, Flags flags, Type type, java.lang.String name)
public LocalInstance orig()
orig
in interface LocalInstance
public boolean equalsImpl(TypeObject o)
TypeObject_c
equalsImpl
in interface TypeObject
equalsImpl
in class VarInstance_c
TypeObject_c.equalsImpl(TypeObject)
,
Object.hashCode()
public java.lang.String toString()
toString
in class java.lang.Object
public boolean isCanonical()
TypeObject
isCanonical
in interface TypeObject
isCanonical
in class VarInstance_c
public LocalInstance flags(Flags flags)
flags
in interface LocalInstance
public LocalInstance name(java.lang.String name)
name
in interface LocalInstance
public LocalInstance type(Type type)
type
in interface LocalInstance
public LocalInstance constantValue(java.lang.Object constantValue)
constantValue
in interface LocalInstance
public LocalInstance notConstant()
notConstant
in interface LocalInstance