import eclipse 3.1 M4 compiler
[org.ibex.tool.git] / src / org / eclipse / jdt / internal / compiler / ast / MarkerAnnotation.java
diff --git a/src/org/eclipse/jdt/internal/compiler/ast/MarkerAnnotation.java b/src/org/eclipse/jdt/internal/compiler/ast/MarkerAnnotation.java
new file mode 100644 (file)
index 0000000..65f1bd5
--- /dev/null
@@ -0,0 +1,35 @@
+/*
+ * Created on 2004-03-11
+ *
+ * To change the template for this generated file go to
+ * Window - Preferences - Java - Code Generation - Code and Comments
+ */
+package org.eclipse.jdt.internal.compiler.ast;
+
+import org.eclipse.jdt.internal.compiler.ASTVisitor;
+import org.eclipse.jdt.internal.compiler.lookup.*;
+
+public class MarkerAnnotation extends Annotation {
+       
+       public MarkerAnnotation(TypeReference type, int sourceStart) {
+               this.type = type;
+               this.sourceStart = sourceStart;
+               this.sourceEnd = type.sourceEnd;
+       }
+       
+       /**
+        * @see org.eclipse.jdt.internal.compiler.ast.Annotation#memberValuePairs()
+        */
+       public MemberValuePair[] memberValuePairs() {
+               return NoValuePairs;
+       }
+       
+       public void traverse(ASTVisitor visitor, BlockScope scope) {
+               visitor.visit(this, scope);
+               visitor.endVisit(this, scope);
+       }
+       public void traverse(ASTVisitor visitor, CompilationUnitScope scope) {
+               visitor.visit(this, scope);
+               visitor.endVisit(this, scope);
+       }
+}