abc.eaj.ast
Class PCLet_c
java.lang.Object
Node_c
abc.aspectj.ast.Pointcut_c
abc.aspectj.ast.PCIf_c
abc.eaj.ast.PCLet_c
- All Implemented Interfaces:
- MakesAspectMethods, PCIf, Pointcut, TransformsAspectReflection, PCLet
public class PCLet_c
- extends PCIf_c
- implements PCLet
- Author:
- Julian Tibble
|
Field Summary |
protected Local |
var
|
|
Constructor Summary |
PCLet_c(Position pos,
Local var,
Expr expr)
|
| Methods inherited from class abc.aspectj.ast.PCIf_c |
addJoinPointFormal, addJoinPointFormals, aspectMethodsEnter, aspectMethodsLeave, enterAspectReflectionInspect, enterAspectReflectionRewrite, enterScope, hasEnclosingJoinPointStaticPart, hasJoinPoint, hasJoinPointStaticPart, isDynamic, joinpointFormals, leaveAspectReflectionInspect, leaveAspectReflectionRewrite, liftMethod, pcRefs, precedence, reconstruct |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
var
protected Local var
PCLet_c
public PCLet_c(Position pos,
Local var,
Expr expr)
visitChildren
public Node visitChildren(NodeVisitor v)
- visit the children of the let
- Overrides:
visitChildren in class PCIf_c
prettyPrint
public void prettyPrint(CodeWriter w,
PrettyPrinter tr)
- Overrides:
prettyPrint in class PCIf_c
mayBind
public java.util.Collection mayBind()
throws SemanticException
- Specified by:
mayBind in interface Pointcut- Overrides:
mayBind in class Pointcut_c
- Throws:
SemanticException
mustBind
public java.util.Collection mustBind()
- Specified by:
mustBind in interface Pointcut- Overrides:
mustBind in class Pointcut_c
typeCheck
public Node typeCheck(TypeChecker tc)
throws SemanticException
- Description copied from class:
PCIf_c
- Type check the pointcut.
- Overrides:
typeCheck in class PCIf_c
- Throws:
SemanticException
childExpectedType
public Type childExpectedType(Expr child,
AscriptionVisitor av)
- Overrides:
childExpectedType in class PCIf_c
exprMethod
public MethodDecl exprMethod(AJNodeFactory nf,
AJTypeSystem ts,
java.util.List formals,
ParsedClassType container)
- Specified by:
exprMethod in interface PCIf- Overrides:
exprMethod in class PCIf_c
calculateMethodParameters
protected java.util.List calculateMethodParameters(AspectMethods visitor,
AJNodeFactory nf,
AJTypeSystem ts)
- Overrides:
calculateMethodParameters in class PCIf_c
makeAIPointcut
public Pointcut makeAIPointcut()
- Specified by:
makeAIPointcut in interface Pointcut- Overrides:
makeAIPointcut in class PCIf_c