| Modifier and Type | Field and Description |
|---|---|
| private File | |
| private ISourceLocation | |
| private boolean | |
| private ResolvedType | |
| protected int | |
| public String | |
| private boolean | |
| public static final ShadowMunger[] | |
| protected Pointcut | |
| protected static final int | |
| protected static final int | |
| private int | |
| protected ISourceContext | |
| private ISourceLocation | |
| protected int | |
| private static int |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | ShadowMunger(Pointcut pointcut, int start, int end, ISourceContext sourceContext, int shadowMungerKind)
|
| Modifier and Type | Method and Description |
|---|---|
| public boolean | |
| public abstract ShadowMunger | |
| public int | fallbackCompareTo(Object other)
Implements org. |
| private File | getBinaryFile()
Returns the File with pathname to the class file, for example either: C:\temp \ajcSandbox\workspace\ajcTest16957.tmp\simple.jar!pkg\BinaryAspect.class if the class file is in a jar file, or C:\temp\ajcSandbox\workspace\ajcTest16957.tmp!pkg\BinaryAspect.class if the class file is in a directory |
| public ISourceLocation | getBinarySourceLocation(ISourceLocation sl)
Returns the binarySourceLocation for the given sourcelocation. |
| public abstract ResolvedType | |
| public ResolvedType | |
| public int | getEnd()
Implements org. |
| public Pointcut | |
| public ISourceLocation | |
| public int | getStart()
Implements org. |
| public abstract Collection | Returns: a Collection of ResolvedTypes for all checked exceptions that might be thrown by this munger
|
| public abstract boolean | Returns: true if the implement was successfulthe shadow where this munger should be applied shadow)Implement this munger at the specified shadow, returning a boolean to indicate success. |
| public boolean | |
| public boolean | isBinary()
Returns whether or not this shadow munger came from a binary aspect - keep a record of whether or not we've checked if we're binary otherwise we keep calculating the same thing many times |
| public boolean | |
| public abstract boolean | Returns: true if munger has to check that its exceptions can be thrown based on the shadowDoes the munger have to check that its exception are accepted by the shadow ? |
| public abstract ShadowMunger | |
| public void | setDeclaringType(ResolvedType aType)
Invoked when the shadow munger of a resolved type are processed. |
| public void | |
| public abstract void | |
| public void |
| binaryFile | back to summary |
|---|---|
| private File binaryFile | |
| binarySourceLocation | back to summary |
|---|---|
| private ISourceLocation binarySourceLocation | |
| checkedIsBinary | back to summary |
|---|---|
| private boolean checkedIsBinary | |
| declaringType | back to summary |
|---|---|
| private ResolvedType declaringType | |
| end | back to summary |
|---|---|
| protected int end | |
| handle | back to summary |
|---|---|
| public String handle | |
| isBinary | back to summary |
|---|---|
| private boolean isBinary | |
| NONE | back to summary |
|---|---|
| public static final ShadowMunger[] NONE | |
| pointcut | back to summary |
|---|---|
| protected Pointcut pointcut | |
| ShadowMungerAdvice | back to summary |
|---|---|
| protected static final int ShadowMungerAdvice | |
| ShadowMungerDeow | back to summary |
|---|---|
| protected static final int ShadowMungerDeow | |
| shadowMungerKind | back to summary |
|---|---|
| private int shadowMungerKind | |
| sourceContext | back to summary |
|---|---|
| protected ISourceContext sourceContext | |
| sourceLocation | back to summary |
|---|---|
| private ISourceLocation sourceLocation | |
| start | back to summary |
|---|---|
| protected int start | |
| VERSION_1 | back to summary |
|---|---|
| private static int VERSION_1 | |
| ShadowMunger | back to summary |
|---|---|
| protected ShadowMunger() | |
| ShadowMunger | back to summary |
|---|---|
| public ShadowMunger(Pointcut pointcut, int start, int end, ISourceContext sourceContext, int shadowMungerKind) | |
| bindsProceedingJoinPoint | back to summary |
|---|---|
| public boolean bindsProceedingJoinPoint() | |
| concretize | back to summary |
|---|---|
| public abstract ShadowMunger concretize(ResolvedType fromType, World world, PerClause clause) | |
| fallbackCompareTo | back to summary |
|---|---|
| public int fallbackCompareTo(Object other) Implements org. Doc from org. This method can provide a deterministic ordering for elements that are strictly not comparable. If you have no need for this, this method can just return 0 whenever called. | |
| getBinaryFile | back to summary |
|---|---|
| private File getBinaryFile() Returns the File with pathname to the class file, for example either: | |
| getBinarySourceLocation | back to summary |
|---|---|
| public ISourceLocation getBinarySourceLocation(ISourceLocation sl) Returns the binarySourceLocation for the given sourcelocation. This isn't cached because it's used when faulting in the binary nodes and is called with ISourceLocations for all advice, pointcuts and deows contained within the resolvedDeclaringAspect. | |
| getConcreteAspect | back to summary |
|---|---|
| public abstract ResolvedType getConcreteAspect() | |
| getDeclaringType | back to summary |
|---|---|
| public ResolvedType getDeclaringType() | |
| getEnd | back to summary |
|---|---|
| public int getEnd() Implements org. Doc from org. The ending index of this location in the character stream This points to the last character in this token. If a location truly had no contents, then start == end + 1. We don't recommend this. | |
| getPointcut | back to summary |
|---|---|
| public Pointcut getPointcut() | |
| getSourceLocation | back to summary |
|---|---|
| public ISourceLocation getSourceLocation() | |
| getStart | back to summary |
|---|---|
| public int getStart() Implements org. Doc from org. The starting index of this location in the character stream. | |
| getThrownExceptions | back to summary |
|---|---|
public abstract Collection
| |
| implementOn | back to summary |
|---|---|
| public abstract boolean implementOn(Shadow shadow) Implement this munger at the specified shadow, returning a boolean to indicate success.
| |
| isAroundAdvice | back to summary |
|---|---|
| public boolean isAroundAdvice() | |
| isBinary | back to summary |
|---|---|
| public boolean isBinary() Returns whether or not this shadow munger came from a binary aspect - keep a record of whether or not we've checked if we're binary otherwise we keep calculating the same thing many times | |
| match | back to summary |
|---|---|
| public boolean match(Shadow shadow, World world) All overriding methods should call super | |
| mustCheckExceptions | back to summary |
|---|---|
| public abstract boolean mustCheckExceptions() Does the munger have to check that its exception are accepted by the shadow ? It is not the case for annotation style around advice, for example: that can throw Throwable, even if the advised method does not throw any exceptions.
| |
| parameterizeWith | back to summary |
|---|---|
| public abstract ShadowMunger parameterizeWith(ResolvedType declaringType, Map<String, UnresolvedType> typeVariableMap) | |
| setDeclaringType | back to summary |
|---|---|
| public void setDeclaringType(ResolvedType aType) Invoked when the shadow munger of a resolved type are processed. | |
| setPointcut | back to summary |
|---|---|
| public void setPointcut(Pointcut pointcut) | |
| specializeOn | back to summary |
|---|---|
| public abstract void specializeOn(Shadow shadow) | |
| write | back to summary |
|---|---|
| public void write(CompressingDataOutputStream stream) throws IOException | |