Package org.aspectj.weaver
Class ShadowMunger
- java.lang.Object
-
- org.aspectj.weaver.ShadowMunger
-
- All Implemented Interfaces:
PartialOrder.PartialComparable,IHasPosition
public abstract class ShadowMunger extends Object implements PartialOrder.PartialComparable, IHasPosition
-
-
Field Summary
Fields Modifier and Type Field Description protected intendStringhandlestatic ShadowMunger[]NONEprotected Pointcutpointcutprotected static intShadowMungerAdviceprotected static intShadowMungerDeowprotected ISourceContextsourceContextprotected intstart
-
Constructor Summary
Constructors Modifier Constructor Description protectedShadowMunger()ShadowMunger(Pointcut pointcut, int start, int end, ISourceContext sourceContext, int shadowMungerKind)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description booleanbindsProceedingJoinPoint()abstract ShadowMungerconcretize(ResolvedType fromType, World world, PerClause clause)intfallbackCompareTo(Object other)ISourceLocationgetBinarySourceLocation(ISourceLocation sl)abstract ResolvedTypegetConcreteAspect()ResolvedTypegetDeclaringType()intgetEnd()PointcutgetPointcut()ISourceLocationgetSourceLocation()intgetStart()abstract Collection<ResolvedType>getThrownExceptions()abstract booleanimplementOn(Shadow shadow)booleanisAroundAdvice()booleanisBinary()booleanmatch(Shadow shadow, World world)abstract booleanmustCheckExceptions()abstract ShadowMungerparameterizeWith(ResolvedType declaringType, Map<String,UnresolvedType> typeVariableMap)voidsetDeclaringType(ResolvedType aType)voidsetPointcut(Pointcut pointcut)abstract voidspecializeOn(Shadow shadow)voidwrite(CompressingDataOutputStream stream)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.aspectj.util.PartialOrder.PartialComparable
compareTo
-
-
-
-
Field Detail
-
NONE
public static final ShadowMunger[] NONE
-
ShadowMungerAdvice
protected static final int ShadowMungerAdvice
- See Also:
- Constant Field Values
-
ShadowMungerDeow
protected static final int ShadowMungerDeow
- See Also:
- Constant Field Values
-
handle
public String handle
-
start
protected int start
-
end
protected int end
-
sourceContext
protected ISourceContext sourceContext
-
pointcut
protected Pointcut pointcut
-
-
Constructor Detail
-
ShadowMunger
protected ShadowMunger()
-
ShadowMunger
public ShadowMunger(Pointcut pointcut, int start, int end, ISourceContext sourceContext, int shadowMungerKind)
-
-
Method Detail
-
fallbackCompareTo
public int fallbackCompareTo(Object other)
- Specified by:
fallbackCompareToin interfacePartialOrder.PartialComparable
-
getEnd
public int getEnd()
- Specified by:
getEndin interfaceIHasPosition
-
getStart
public int getStart()
- Specified by:
getStartin interfaceIHasPosition
-
getSourceLocation
public ISourceLocation getSourceLocation()
-
getPointcut
public Pointcut getPointcut()
-
setPointcut
public void setPointcut(Pointcut pointcut)
-
setDeclaringType
public void setDeclaringType(ResolvedType aType)
-
getDeclaringType
public ResolvedType getDeclaringType()
-
getConcreteAspect
public abstract ResolvedType getConcreteAspect()
-
getBinarySourceLocation
public ISourceLocation getBinarySourceLocation(ISourceLocation sl)
-
isBinary
public boolean isBinary()
-
concretize
public abstract ShadowMunger concretize(ResolvedType fromType, World world, PerClause clause)
-
specializeOn
public abstract void specializeOn(Shadow shadow)
-
implementOn
public abstract boolean implementOn(Shadow shadow)
-
parameterizeWith
public abstract ShadowMunger parameterizeWith(ResolvedType declaringType, Map<String,UnresolvedType> typeVariableMap)
-
getThrownExceptions
public abstract Collection<ResolvedType> getThrownExceptions()
-
mustCheckExceptions
public abstract boolean mustCheckExceptions()
-
write
public void write(CompressingDataOutputStream stream) throws IOException
- Throws:
IOException
-
bindsProceedingJoinPoint
public boolean bindsProceedingJoinPoint()
-
isAroundAdvice
public boolean isAroundAdvice()
-
-