|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectabc.weaving.residues.WeavingVar
abc.weaving.residues.LocalVar
public class LocalVar
A variable needed only during residue computation
| Field Summary | |
|---|---|
java.lang.String |
name
|
Type |
type
|
| Constructor Summary | |
|---|---|
LocalVar(Type type,
java.lang.String name)
The name parameter is just for debugging purposes; identity of the variable comes from the reference |
|
| Method Summary | |
|---|---|
Local |
get()
Get the soot local corresponding to this variable (only valid once it has been set) |
Type |
getType()
Get the soot type corresponding to this variable |
boolean |
hasType()
Has this variable got a type yet? |
WeavingVar |
inline(ConstructorInliningMap cim)
|
void |
resetForReweaving()
|
Stmt |
set(LocalGeneratorEx localgen,
Chain units,
Stmt begin,
WeavingContext wc,
Value val)
Set the variable to the value v and return the last statement added (or begin if none) |
java.lang.String |
toString()
|
| Methods inherited from class abc.weaving.residues.WeavingVar |
|---|
inline, maybeBox, mustBox |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public Type type
public java.lang.String name
| Constructor Detail |
|---|
public LocalVar(Type type,
java.lang.String name)
| Method Detail |
|---|
public WeavingVar inline(ConstructorInliningMap cim)
inline in class WeavingVarpublic java.lang.String toString()
toString in class java.lang.Objectpublic void resetForReweaving()
resetForReweaving in class WeavingVar
public Stmt set(LocalGeneratorEx localgen,
Chain units,
Stmt begin,
WeavingContext wc,
Value val)
WeavingVar
set in class WeavingVarpublic Local get()
WeavingVar
get in class WeavingVarpublic boolean hasType()
WeavingVar
hasType in class WeavingVarpublic Type getType()
WeavingVar
getType in class WeavingVar
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||