abc.weaving.residues
Class AdviceFormal
java.lang.Object
abc.weaving.residues.WeavingVar
abc.weaving.residues.AdviceFormal
public class AdviceFormal
- extends WeavingVar
A weaving variable that represents a formal
parameter to be passed to an advice body
- Author:
- Ganesh Sittampalam, Ondrej Lhotak
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
pos
public int pos
type
public Type type
AdviceFormal
public AdviceFormal(int pos,
Type type)
inline
public WeavingVar inline(ConstructorInliningMap cim)
- Specified by:
inline
in class WeavingVar
resetForReweaving
public void resetForReweaving()
- Specified by:
resetForReweaving
in class WeavingVar
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
set
public Stmt set(LocalGeneratorEx localgen,
Chain units,
Stmt begin,
WeavingContext wc,
Value val)
- Description copied from class:
WeavingVar
- Set the variable to the value v and return the last statement added
(or begin if none)
- Specified by:
set
in class WeavingVar
get
public Local get()
- Description copied from class:
WeavingVar
- Get the soot local corresponding to this variable (only valid once it has been set)
- Specified by:
get
in class WeavingVar
hasType
public boolean hasType()
- Description copied from class:
WeavingVar
- Has this variable got a type yet?
- Specified by:
hasType
in class WeavingVar
getType
public Type getType()
- Description copied from class:
WeavingVar
- Get the soot type corresponding to this variable
- Specified by:
getType
in class WeavingVar