1 11 17 package org.eclipse.jdt.internal.compiler.ast; 18 19 import org.eclipse.jdt.internal.compiler.ASTVisitor; 20 import org.eclipse.jdt.internal.compiler.lookup.*; 21 22 public class MarkerAnnotation extends Annotation { 23 24 public MarkerAnnotation(TypeReference type, int sourceStart) { 25 this.type = type; 26 this.sourceStart = sourceStart; 27 this.sourceEnd = type.sourceEnd; 28 } 29 30 33 public MemberValuePair[] memberValuePairs() { 34 return NoValuePairs; 35 } 36 37 public void traverse(ASTVisitor visitor, BlockScope scope) { 38 visitor.visit(this, scope); 39 visitor.endVisit(this, scope); 40 } 41 } 42 | Popular Tags |