Package com.tonic.analysis.ssa.cfg
Class IRMethod.SourceLocal
- java.lang.Object
-
- com.tonic.analysis.ssa.cfg.IRMethod.SourceLocal
-
-
Constructor Summary
Constructors Constructor Description SourceLocal(String name, IRType type, boolean parameter)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddValue(SSAValue value)Adds another SSA value bound to this source variable (SSA splits one source var across defs).StringgetName()StringgetSignature()IRTypegetType()List<SSAValue>getValues()booleanisParameter()voidsetSignature(String signature)
-
-
-
Method Detail
-
getName
public String getName()
- Returns:
- the name
-
getSignature
public String getSignature()
- Returns:
- the generic signature of the declared type, or null when the declaration is not generic
-
setSignature
public void setSignature(String signature)
- Parameters:
signature- the generic signature of the declared type, or null when not generic
-
getType
public IRType getType()
- Returns:
- the type
-
isParameter
public boolean isParameter()
- Returns:
- whether parameter
-
addValue
public void addValue(SSAValue value)
Adds another SSA value bound to this source variable (SSA splits one source var across defs).- Parameters:
value- the SSA value to bind
-
-