abc.aspectj.ast
Class HostConstructorCall_c
java.lang.Object
ConstructorCall_c
abc.aspectj.ast.HostConstructorCall_c
- All Implemented Interfaces:
- MakesAspectMethods
public class HostConstructorCall_c
- extends ConstructorCall_c
- implements MakesAspectMethods
In an intertype declaration, when a constructor call refers to the host
rather than the containing aspect, it is disambiguated to a HostConstructorCall.
- Author:
- Oege de Moor
Constructor Summary |
HostConstructorCall_c(Position pos,
Kind kind,
Expr qualifier,
java.util.List arguments)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HostConstructorCall_c
public HostConstructorCall_c(Position pos,
Kind kind,
Expr qualifier,
java.util.List arguments)
typeCheck
public Node typeCheck(TypeChecker tc)
throws SemanticException
- Override the typecheck for normal constructor calls, replacing currentClass by hostClass
- Throws:
SemanticException
aspectMethodsEnter
public void aspectMethodsEnter(AspectMethods visitor)
- Specified by:
aspectMethodsEnter
in interface MakesAspectMethods
aspectMethodsLeave
public Node aspectMethodsLeave(AspectMethods visitor,
AJNodeFactory nf,
AJTypeSystem ts)
- Specified by:
aspectMethodsLeave
in interface MakesAspectMethods