summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoraclement <aclement>2008-01-17 00:09:57 +0000
committeraclement <aclement>2008-01-17 00:09:57 +0000
commit02a6a179ea9c9a1a08120114855a4f402d129d13 (patch)
treeb1a67698c6453b242bc16baa00df092434ff5c03
parentde4f7290877ae574723d03907b0353c33fc8db49 (diff)
downloadaspectj-02a6a179ea9c9a1a08120114855a4f402d129d13.tar.gz
aspectj-02a6a179ea9c9a1a08120114855a4f402d129d13.zip
AspectJ6: picking up compiler interface changes
-rw-r--r--org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseSourceType.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseSourceType.java b/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseSourceType.java
index 51f665657..2a9c89569 100644
--- a/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseSourceType.java
+++ b/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseSourceType.java
@@ -46,7 +46,7 @@ import org.aspectj.org.eclipse.jdt.internal.compiler.ast.TypeDeclaration;
import org.aspectj.org.eclipse.jdt.internal.compiler.ast.TypeParameter;
import org.aspectj.org.eclipse.jdt.internal.compiler.impl.Constant;
import org.aspectj.org.eclipse.jdt.internal.compiler.lookup.BinaryTypeBinding;
-import org.aspectj.org.eclipse.jdt.internal.compiler.lookup.CompilerModifiers;
+import org.aspectj.org.eclipse.jdt.internal.compiler.lookup.ExtraCompilerModifiers;
import org.aspectj.org.eclipse.jdt.internal.compiler.lookup.FieldBinding;
import org.aspectj.org.eclipse.jdt.internal.compiler.lookup.MethodBinding;
import org.aspectj.org.eclipse.jdt.internal.compiler.lookup.ReferenceBinding;
@@ -133,12 +133,12 @@ public class EclipseSourceType extends AbstractReferenceTypeDelegate {
}
public boolean isAnonymous() {
- return ((declaration.modifiers & ASTNode.AnonymousAndLocalMask) != 0);
+ return ((declaration.modifiers & (ASTNode.IsAnonymousType | ASTNode.IsLocalType)) != 0);
}
public boolean isNested() {
if (declaration.binding!=null) return (declaration.binding.isMemberType());
- return ((declaration.modifiers & ASTNode.IsMemberTypeMASK) != 0);
+ return ((declaration.modifiers & ASTNode.IsMemberType) != 0);
}
public ResolvedType getOuterClass() {
@@ -348,7 +348,7 @@ public class EclipseSourceType extends AbstractReferenceTypeDelegate {
public int getModifiers() {
// only return the real Java modifiers, not the extra eclipse ones
- return binding.modifiers & CompilerModifiers.AccJustFlag;
+ return binding.modifiers & ExtraCompilerModifiers.AccJustFlag;
}
public String toString() {