diff options
author | aclement <aclement> | 2009-09-15 19:41:27 +0000 |
---|---|---|
committer | aclement <aclement> | 2009-09-15 19:41:27 +0000 |
commit | 8b52892aea51f85301a3f2a3c20800faab568c05 (patch) | |
tree | 0a5ad042d75c064470370fcfd88bd5f5adf16821 | |
parent | a9a176919c0ca41e9480c0c4676770a006bd7082 (diff) | |
download | aspectj-8b52892aea51f85301a3f2a3c20800faab568c05.tar.gz aspectj-8b52892aea51f85301a3f2a3c20800faab568c05.zip |
refactoring
-rw-r--r-- | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseAnnotationConvertor.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseAnnotationConvertor.java b/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseAnnotationConvertor.java index d0088e164..52f3c9cfb 100644 --- a/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseAnnotationConvertor.java +++ b/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseAnnotationConvertor.java @@ -11,7 +11,7 @@ * ******************************************************************/ package org.aspectj.ajdt.internal.compiler.lookup; -import org.aspectj.apache.bcel.classfile.annotation.ElementValueGen; +import org.aspectj.apache.bcel.classfile.annotation.ElementValue; import org.aspectj.org.eclipse.jdt.internal.compiler.ast.Annotation; import org.aspectj.org.eclipse.jdt.internal.compiler.ast.ArrayInitializer; import org.aspectj.org.eclipse.jdt.internal.compiler.ast.Expression; @@ -153,13 +153,13 @@ public class EclipseAnnotationConvertor { Constant c = defaultValue.constant; if (c instanceof IntConstant) { IntConstant iConstant = (IntConstant) c; - return new SimpleAnnotationValue(ElementValueGen.PRIMITIVE_INT, new Integer(iConstant.intValue())); + return new SimpleAnnotationValue(ElementValue.PRIMITIVE_INT, new Integer(iConstant.intValue())); } else if (c instanceof BooleanConstant) { BooleanConstant iConstant = (BooleanConstant) c; - return new SimpleAnnotationValue(ElementValueGen.PRIMITIVE_BOOLEAN, new Boolean(iConstant.booleanValue())); + return new SimpleAnnotationValue(ElementValue.PRIMITIVE_BOOLEAN, new Boolean(iConstant.booleanValue())); } else if (c instanceof StringConstant) { StringConstant sConstant = (StringConstant) c; - return new SimpleAnnotationValue(ElementValueGen.STRING, sConstant.stringValue()); + return new SimpleAnnotationValue(ElementValue.STRING, sConstant.stringValue()); } } return null; |