abc.aspectj.types
Class InterTypeConstructorInstance_c

java.lang.Object
  extended by ConstructorInstance_c
      extended by abc.aspectj.types.InterTypeConstructorInstance_c
All Implemented Interfaces:
InterTypeConstructorInstance, InterTypeMemberInstance

public class InterTypeConstructorInstance_c
extends ConstructorInstance_c
implements InterTypeMemberInstance, InterTypeConstructorInstance

Author:
Oege de Moor

Field Summary
protected  java.lang.String identifier
           
protected  ClassType interfaceTarget
           
protected  ConstructorInstance mangled
           
protected  ClassType mangleType
           
protected  ClassType origin
           
 
Constructor Summary
InterTypeConstructorInstance_c(TypeSystem ts, Position pos, java.lang.String identifier, ClassType origin, ClassType container, Flags flags, java.util.List formalTypes, java.util.List excTypes)
          create a constructor that can be traced back to the aspect that introduced it.
 
Method Summary
 java.lang.String identifier()
           
 ClassType interfaceTarget()
           
 ConstructorInstance mangled()
           
 ConstructorCall mangledCall(ConstructorCall cc, AJNodeFactory nf, AJTypeSystem ts)
           
 Formal mangledFormal(AJNodeFactory nf, AJTypeSystem ts)
           
 New mangledNew(New cc, AJNodeFactory nf, AJTypeSystem ts)
           
 Flags origFlags()
           
 ClassType origin()
          the defining aspect of this instance
 void setMangle()
          set the mangled instance
 void setMangleNameComponent()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

mangled

protected ConstructorInstance mangled

mangleType

protected ClassType mangleType

interfaceTarget

protected ClassType interfaceTarget

origin

protected ClassType origin

identifier

protected java.lang.String identifier
Constructor Detail

InterTypeConstructorInstance_c

public InterTypeConstructorInstance_c(TypeSystem ts,
                                      Position pos,
                                      java.lang.String identifier,
                                      ClassType origin,
                                      ClassType container,
                                      Flags flags,
                                      java.util.List formalTypes,
                                      java.util.List excTypes)
create a constructor that can be traced back to the aspect that introduced it.

Method Detail

origin

public ClassType origin()
Description copied from interface: InterTypeMemberInstance
the defining aspect of this instance

Specified by:
origin in interface InterTypeConstructorInstance
Specified by:
origin in interface InterTypeMemberInstance

identifier

public java.lang.String identifier()
Specified by:
identifier in interface InterTypeConstructorInstance

interfaceTarget

public ClassType interfaceTarget()
Specified by:
interfaceTarget in interface InterTypeConstructorInstance

origFlags

public Flags origFlags()
Specified by:
origFlags in interface InterTypeConstructorInstance
Specified by:
origFlags in interface InterTypeMemberInstance

setMangle

public void setMangle()
Description copied from interface: InterTypeMemberInstance
set the mangled instance

Specified by:
setMangle in interface InterTypeConstructorInstance
Specified by:
setMangle in interface InterTypeMemberInstance

setMangleNameComponent

public void setMangleNameComponent()
Specified by:
setMangleNameComponent in interface InterTypeConstructorInstance
Specified by:
setMangleNameComponent in interface InterTypeMemberInstance

mangled

public ConstructorInstance mangled()
Specified by:
mangled in interface InterTypeConstructorInstance

mangledCall

public ConstructorCall mangledCall(ConstructorCall cc,
                                   AJNodeFactory nf,
                                   AJTypeSystem ts)
Specified by:
mangledCall in interface InterTypeConstructorInstance

mangledNew

public New mangledNew(New cc,
                      AJNodeFactory nf,
                      AJTypeSystem ts)
Specified by:
mangledNew in interface InterTypeConstructorInstance

mangledFormal

public Formal mangledFormal(AJNodeFactory nf,
                            AJTypeSystem ts)
Specified by:
mangledFormal in interface InterTypeConstructorInstance