abc.aspectj.types
Class InterTypeMethodInstance_c

java.lang.Object
  extended by MethodInstance_c
      extended by abc.aspectj.types.InterTypeMethodInstance_c
All Implemented Interfaces:
InterTypeMemberInstance, InterTypeMethodInstance

public class InterTypeMethodInstance_c
extends MethodInstance_c
implements InterTypeMemberInstance, InterTypeMethodInstance

Author:
Oege de Moor

Field Summary
protected  java.lang.String identifier
           
protected  ClassType interfaceTarget
           
protected  MethodInstance mangled
           
protected  Flags origFlags
           
protected  ClassType origin
           
 
Constructor Summary
InterTypeMethodInstance_c(TypeSystem ts, Position pos, java.lang.String identifier, ClassType origin, ReferenceType container, Flags flags, Flags origFlags, Type returnType, java.lang.String name, java.util.List formalTypes, java.util.List excTypes)
          create a methodInstance for an intertype dedclaration that can be traced back to its origin.
 
Method Summary
 java.lang.String getIdentifier()
           
 ClassType interfaceTarget()
           
 MethodInstance mangled()
           
 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

origin

protected ClassType origin

mangled

protected MethodInstance mangled

origFlags

protected Flags origFlags

interfaceTarget

protected ClassType interfaceTarget

identifier

protected java.lang.String identifier
Constructor Detail

InterTypeMethodInstance_c

public InterTypeMethodInstance_c(TypeSystem ts,
                                 Position pos,
                                 java.lang.String identifier,
                                 ClassType origin,
                                 ReferenceType container,
                                 Flags flags,
                                 Flags origFlags,
                                 Type returnType,
                                 java.lang.String name,
                                 java.util.List formalTypes,
                                 java.util.List excTypes)
create a methodInstance for an intertype dedclaration that can be traced back to its origin.

Method Detail

origin

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

Specified by:
origin in interface InterTypeMemberInstance
Specified by:
origin in interface InterTypeMethodInstance

origFlags

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

getIdentifier

public java.lang.String getIdentifier()
Specified by:
getIdentifier in interface InterTypeMethodInstance

interfaceTarget

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

setMangleNameComponent

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

setMangle

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

Specified by:
setMangle in interface InterTypeMemberInstance
Specified by:
setMangle in interface InterTypeMethodInstance

mangled

public MethodInstance mangled()
Specified by:
mangled in interface InterTypeMethodInstance