Browse Source

From branch: method to check if a source type is @AJ style

tags/PRE_ANDY
aclement 19 years ago
parent
commit
1268e45561

+ 13
- 0
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseSourceType.java View File

@@ -70,6 +70,19 @@ public class EclipseSourceType extends ResolvedTypeX.ConcreteName {
return declaration instanceof AspectDeclaration;
}

// FIXME ATAJ isAnnotationStyleAspect() needs implementing?
public boolean isAnnotationStyleAspect() {
if (declaration.annotations == null) {
return false;
}
for (int i = 0; i < declaration.annotations.length; i++) {
Annotation annotation = declaration.annotations[i];
// do something there
;
}
return false;
}

public WeaverStateInfo getWeaverState() {
return null;
}

Loading…
Cancel
Save