1 11 package org.eclipse.jdt.internal.codeassist.complete; 12 13 import org.eclipse.jdt.internal.compiler.ast.JavadocSingleTypeReference; 14 import org.eclipse.jdt.internal.compiler.lookup.BlockScope; 15 import org.eclipse.jdt.internal.compiler.lookup.TypeBinding; 16 17 public class CompletionOnJavadocTypeParamReference extends JavadocSingleTypeReference implements CompletionOnJavadoc { 18 public int completionFlags = JAVADOC; 19 public char[][] missingParams; 20 21 public CompletionOnJavadocTypeParamReference(char[] name, long pos, int start, int end) { 22 super(name, pos, start, end); 23 } 24 25 public CompletionOnJavadocTypeParamReference(JavadocSingleTypeReference typeRef) { 26 super(typeRef.token, (((long)typeRef.sourceStart)<<32)+typeRef.sourceEnd, typeRef.tagSourceStart, typeRef.tagSourceStart); 27 } 28 29 32 public void addCompletionFlags(int flags) { 33 this.completionFlags |= flags; 34 } 35 36 41 public int getCompletionFlags() { 42 return this.completionFlags; 43 } 44 45 48 public StringBuffer printExpression(int indent, StringBuffer output) { 49 output.append("<CompletionOnJavadocTypeParamReference:"); if (this.token != null) super.printExpression(indent, output); 51 return output.append('>'); 52 } 53 54 57 public TypeBinding reportError(BlockScope scope) { 58 return null; 59 } 60 } 61 | Popular Tags |