From: aclement Date: Thu, 17 Jan 2008 00:00:56 +0000 (+0000) Subject: AspectJ6: picking up compiler interface changes X-Git-Tag: V1_6_0M1~38 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=5eebd9063cbd5f4ba6e3c908888d3ff80059de74;p=aspectj.git AspectJ6: picking up compiler interface changes --- diff --git a/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/ast/IfPseudoToken.java b/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/ast/IfPseudoToken.java index e6e2ba6a1..8dc6045e4 100644 --- a/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/ast/IfPseudoToken.java +++ b/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/ast/IfPseudoToken.java @@ -29,6 +29,7 @@ import org.aspectj.org.eclipse.jdt.internal.compiler.ast.ReturnStatement; import org.aspectj.org.eclipse.jdt.internal.compiler.ast.Statement; import org.aspectj.org.eclipse.jdt.internal.compiler.ast.TrueLiteral; import org.aspectj.org.eclipse.jdt.internal.compiler.ast.TypeDeclaration; +import org.aspectj.org.eclipse.jdt.internal.compiler.classfmt.ClassFileConstants; import org.aspectj.org.eclipse.jdt.internal.compiler.lookup.TypeBinding; import org.aspectj.org.eclipse.jdt.internal.compiler.parser.Parser; @@ -97,8 +98,8 @@ public class IfPseudoToken extends PseudoToken { //XXX todo: make sure that errors in Arguments only get displayed once private MethodDeclaration makeMethod(CompilationResult result, MethodDeclaration enclosingDec) { MethodDeclaration ret = new IfMethodDeclaration(result, pointcut); - ret.modifiers = AccStatic | AccFinal | AccPublic; - ret.returnType = AstUtil.makeTypeReference(TypeBinding.BooleanBinding); + ret.modifiers = ClassFileConstants.AccStatic | ClassFileConstants.AccFinal | ClassFileConstants.AccPublic; + ret.returnType = AstUtil.makeTypeReference(TypeBinding.BOOLEAN); ret.selector = ("ajc$if_" + counter++).toCharArray(); ret.arguments = makeArguments(enclosingDec); ret.statements = new Statement[] {