abc.aspectj.ast
Class HostConstructorCall_c

java.lang.Object
  extended by ConstructorCall_c
      extended by 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)
           
 
Method Summary
 void aspectMethodsEnter(AspectMethods visitor)
           
 Node aspectMethodsLeave(AspectMethods visitor, AJNodeFactory nf, AJTypeSystem ts)
           
 Node typeCheck(TypeChecker tc)
          Override the typecheck for normal constructor calls, replacing currentClass by hostClass
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HostConstructorCall_c

public HostConstructorCall_c(Position pos,
                             Kind kind,
                             Expr qualifier,
                             java.util.List arguments)
Method Detail

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