public class LocalInstance_c extends VarInstance_c implements LocalInstance
LocalInstance contains type information for a local variable.constantValue, constantValueSet, decl, flags, isConstant, name, typeposition, 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, typecopy, equals, position, typeSystemclone, finalize, getClass, notify, notifyAll, wait, wait, waitconstantValue, constantValueSet, flags, isConstant, name, setConstantValue, setFlags, setName, setNotConstant, setType, typedeclaration, setDeclarationposition, typeSystemprotected LocalInstance_c()
public LocalInstance_c(TypeSystem ts, Position pos, Flags flags, Type type, java.lang.String name)
public LocalInstance orig()
orig in interface LocalInstancepublic boolean equalsImpl(TypeObject o)
TypeObject_cequalsImpl in interface TypeObjectequalsImpl in class VarInstance_cTypeObject_c.equalsImpl(TypeObject),
Object.hashCode()public java.lang.String toString()
toString in class java.lang.Objectpublic boolean isCanonical()
TypeObjectisCanonical in interface TypeObjectisCanonical in class VarInstance_cpublic LocalInstance flags(Flags flags)
flags in interface LocalInstancepublic LocalInstance name(java.lang.String name)
name in interface LocalInstancepublic LocalInstance type(Type type)
type in interface LocalInstancepublic LocalInstance constantValue(java.lang.Object constantValue)
constantValue in interface LocalInstancepublic LocalInstance notConstant()
notConstant in interface LocalInstance