1 11 package org.eclipse.jdt.internal.core.search.indexing; 12 13 import org.eclipse.jdt.core.search.IJavaSearchConstants; 14 15 public interface IIndexConstants { 16 17 18 char[] REF= "ref".toCharArray(); char[] METHOD_REF= "methodRef".toCharArray(); char[] CONSTRUCTOR_REF= "constructorRef".toCharArray(); char[] SUPER_REF = "superRef".toCharArray(); char[] TYPE_DECL = "typeDecl".toCharArray(); char[] METHOD_DECL= "methodDecl".toCharArray(); char[] CONSTRUCTOR_DECL= "constructorDecl".toCharArray(); char[] FIELD_DECL= "fieldDecl".toCharArray(); char[] OBJECT = "Object".toCharArray(); char[][] COUNTS= 28 new char[][] { new char[] {'/', '0'}, new char[] {'/', '1'}, new char[] {'/', '2'}, new char[] {'/', '3'}, new char[] {'/', '4'}, 29 new char[] {'/', '5'}, new char[] {'/', '6'}, new char[] {'/', '7'}, new char[] {'/', '8'}, new char[] {'/', '9'} 30 }; 31 char CLASS_SUFFIX = 'C'; 32 char INTERFACE_SUFFIX = 'I'; 33 char ENUM_SUFFIX = 'E'; 34 char ANNOTATION_TYPE_SUFFIX = 'A'; 35 char TYPE_SUFFIX = 0; 36 char CLASS_AND_ENUM_SUFFIX = IJavaSearchConstants.CLASS_AND_ENUM; 37 char CLASS_AND_INTERFACE_SUFFIX = IJavaSearchConstants.CLASS_AND_INTERFACE; 38 char INTERFACE_AND_ANNOTATION_SUFFIX = IJavaSearchConstants.INTERFACE_AND_ANNOTATION; 39 char SEPARATOR= '/'; 40 char SECONDARY_SUFFIX = 'S'; 41 42 char[] ONE_STAR = new char[] {'*'}; 43 char[][] ONE_STAR_CHAR = new char[][] {ONE_STAR}; 44 45 char ZERO_CHAR = '0'; 47 char[] ONE_ZERO = new char[] { ZERO_CHAR }; 48 char[][] ONE_ZERO_CHAR = new char[][] {ONE_ZERO}; 49 50 int PKG_REF_PATTERN = 0x0001; 51 int PKG_DECL_PATTERN = 0x0002; 52 int TYPE_REF_PATTERN = 0x0004; 53 int TYPE_DECL_PATTERN = 0x0008; 54 int SUPER_REF_PATTERN = 0x0010; 55 int CONSTRUCTOR_PATTERN = 0x0020; 56 int FIELD_PATTERN = 0x0040; 57 int METHOD_PATTERN = 0x0080; 58 int OR_PATTERN = 0x0100; 59 int LOCAL_VAR_PATTERN = 0x0200; 60 int TYPE_PARAM_PATTERN = 0x0400; 61 } 62 | Popular Tags |