1 11 package org.eclipse.jdt.internal.codeassist.complete; 12 13 34 35 import org.eclipse.jdt.internal.compiler.ast.*; 36 import org.eclipse.jdt.internal.compiler.classfmt.ClassFileConstants; 37 38 public class CompletionOnPackageReference extends ImportReference { 39 public CompletionOnPackageReference(char[][] tokens , long[] positions) { 40 super(tokens, positions, true, ClassFileConstants.AccDefault); 41 } 42 public StringBuffer print(int indent, StringBuffer output, boolean withOnDemand) { 43 44 printIndent(indent, output).append("<CompleteOnPackage:"); for (int i = 0; i < tokens.length; i++) { 46 if (i > 0) output.append('.'); 47 output.append(tokens[i]); 48 } 49 return output.append('>'); 50 } 51 } 52 | Popular Tags |