org.aspectj.ajdt.internal.compiler.lookup
Class EclipseTypeMunger

java.lang.Object
  extended by org.aspectj.weaver.ConcreteTypeMunger
      extended by org.aspectj.ajdt.internal.compiler.lookup.EclipseTypeMunger
All Implemented Interfaces:
PartialOrder.PartialComparable

public class EclipseTypeMunger
extends ConcreteTypeMunger


Field Summary
 AbstractMethodDeclaration sourceMethod
           
 
Fields inherited from class org.aspectj.weaver.ConcreteTypeMunger
aspectType, munger
 
Constructor Summary
EclipseTypeMunger(EclipseFactory world, ResolvedTypeMunger munger, ResolvedType aspectType, AbstractMethodDeclaration sourceMethod)
           
 
Method Summary
 ISourceLocation getSourceLocation()
           
 AbstractMethodDeclaration getSourceMethod()
           
 boolean munge(SourceTypeBinding sourceType, ResolvedType onType)
          Modifies signatures of a TypeBinding through its ClassScope, i.e.
 ConcreteTypeMunger parameterizedFor(ResolvedType target)
          For an ITD made on a generic type that shares type variables with that target type, this method will tailor the ITD for a particular usage of the generic type - either in its raw or parameterized form.
 ConcreteTypeMunger parameterizeWith(java.util.Map m, World w)
           
 void setSourceLocation(ISourceLocation sourceLocation)
           
static boolean supportsKind(ResolvedTypeMunger.Kind kind)
           
 java.lang.String toString()
           
 
Methods inherited from class org.aspectj.weaver.ConcreteTypeMunger
compareTo, equivalentTo, existsToSupportShadowMunging, fallbackCompareTo, getAspectType, getMatchingSyntheticMember, getMunger, getSignature, getWorld, isLateMunger, isTargetTypeParameterized, matches, shouldOverwrite
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

sourceMethod

public AbstractMethodDeclaration sourceMethod
Constructor Detail

EclipseTypeMunger

public EclipseTypeMunger(EclipseFactory world,
                         ResolvedTypeMunger munger,
                         ResolvedType aspectType,
                         AbstractMethodDeclaration sourceMethod)
Method Detail

supportsKind

public static boolean supportsKind(ResolvedTypeMunger.Kind kind)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

munge

public boolean munge(SourceTypeBinding sourceType,
                     ResolvedType onType)
Modifies signatures of a TypeBinding through its ClassScope, i.e. adds Method|FieldBindings, plays with inheritance, ...


getSourceLocation

public ISourceLocation getSourceLocation()
Overrides:
getSourceLocation in class ConcreteTypeMunger

setSourceLocation

public void setSourceLocation(ISourceLocation sourceLocation)

getSourceMethod

public AbstractMethodDeclaration getSourceMethod()
Returns:
AbstractMethodDeclaration

parameterizedFor

public ConcreteTypeMunger parameterizedFor(ResolvedType target)
Description copied from class: ConcreteTypeMunger
For an ITD made on a generic type that shares type variables with that target type, this method will tailor the ITD for a particular usage of the generic type - either in its raw or parameterized form.

Specified by:
parameterizedFor in class ConcreteTypeMunger

parameterizeWith

public ConcreteTypeMunger parameterizeWith(java.util.Map m,
                                           World w)
Specified by:
parameterizeWith in class ConcreteTypeMunger