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