Lines 28-34
Link Here
|
28 |
import org.aspectj.weaver.ResolvedPointcutDefinition; |
28 |
import org.aspectj.weaver.ResolvedPointcutDefinition; |
29 |
import org.aspectj.weaver.ResolvedTypeX; |
29 |
import org.aspectj.weaver.ResolvedTypeX; |
30 |
import org.aspectj.weaver.Shadow; |
30 |
import org.aspectj.weaver.Shadow; |
|
|
31 |
import org.aspectj.weaver.ShadowMunger; |
31 |
import org.aspectj.weaver.TypeX; |
32 |
import org.aspectj.weaver.TypeX; |
|
|
33 |
import org.aspectj.weaver.World; |
32 |
import org.aspectj.weaver.ast.Test; |
34 |
import org.aspectj.weaver.ast.Test; |
33 |
|
35 |
|
34 |
/** |
36 |
/** |
Lines 240-248
Link Here
|
240 |
|
242 |
|
241 |
if (pointcutDec.isAbstract()) { |
243 |
if (pointcutDec.isAbstract()) { |
242 |
//Thread.currentThread().dumpStack(); |
244 |
//Thread.currentThread().dumpStack(); |
|
|
245 |
ShadowMunger enclosingAdvice = bindings.getEnclosingAdvice(); |
243 |
searchStart.getWorld().showMessage(IMessage.ERROR, |
246 |
searchStart.getWorld().showMessage(IMessage.ERROR, |
244 |
pointcutDec + " is abstract", |
247 |
pointcutDec + " is abstract", |
245 |
getSourceLocation(), bindings.getEnclosingAdvice().getSourceLocation()); |
248 |
getSourceLocation(), |
|
|
249 |
(enclosingAdvice==null?null:enclosingAdvice.getSourceLocation())); |
246 |
return Pointcut.makeMatchesNothing(Pointcut.CONCRETE); |
250 |
return Pointcut.makeMatchesNothing(Pointcut.CONCRETE); |
247 |
} |
251 |
} |
248 |
|
252 |
|