1 26 27 package org.objectweb.ccm.IDL3; 28 29 37 38 public class DeclarationKind 39 { 40 46 49 public static final int _dk_null = 1<<0; 50 51 54 public static final int _dk_all = (1<<0)|(1<<1)|(1<<2)|(1<<3)|(1<<4)|(1<<5)|(1<<6)| 55 (1<<7)|(1<<8)|(1<<9)|(1<<10)|(1<<11)|(1<<12)|(1<<13)| 56 (1<<14)|(1<<15)|(1<<16)|(1<<17)|(1<<18)|(1<<19)|(1<<20)| 57 (1<<21)|(1<<22)|(1<<23)|(1<<24)|(1<<25)|(1<<26); 58 59 62 public static final int _dk_module = 1<<1; 63 64 67 public static final int _dk_abstract_interface = 1<<2; 68 69 72 public static final int _dk_local_interface = 1<<3; 73 74 77 public static final int _dk_interface = 1<<4; 78 79 82 public static final int _dk_alias = 1<<5; 83 84 87 public static final int _dk_attribute = 1<<6; 88 89 92 public static final int _dk_constant = 1<<7; 93 94 97 public static final int _dk_enum = 1<<8; 98 99 102 public static final int _dk_exception = 1<<9; 103 104 107 public static final int _dk_native = 1<<10; 108 109 112 public static final int _dk_operation = 1<<11; 113 114 117 public static final int _dk_struct = 1<<12; 118 119 122 public static final int _dk_union = 1<<13; 123 124 127 public static final int _dk_value_box = 1<<14; 128 129 132 public static final int _dk_value = 1<<15; 133 134 137 public static final int _dk_value_member = 1<<16; 138 139 142 public static final int _dk_component = 1<<17; 143 144 147 public static final int _dk_consumes = 1<<18; 148 149 152 public static final int _dk_emits = 1<<19; 153 154 157 public static final int _dk_publishes = 1<<20; 158 159 162 public static final int _dk_provides = 1<<21; 163 164 167 public static final int _dk_uses = 1<<22; 168 169 172 public static final int _dk_home = 1<<23; 173 174 177 public static final int _dk_factory = 1<<24; 178 179 182 public static final int _dk_finder = 1<<25; 183 184 187 public static final int _dk_event = 1<<26; 188 189 192 public static final int _dk_repository = 1<<27; 193 194 195 201 204 public static String 205 toString(int kind) 206 { 207 switch(kind) 208 { 209 case _dk_null : 210 return "null"; 211 case _dk_module : 212 return "module"; 213 case _dk_abstract_interface : 214 return "abstract_interface"; 215 case _dk_local_interface : 216 return "local_interface"; 217 case _dk_interface : 218 return "interface"; 219 case _dk_alias : 220 return "alias"; 221 case _dk_attribute : 222 return "attribute"; 223 case _dk_constant : 224 return "constant"; 225 case _dk_enum : 226 return "enum"; 227 case _dk_exception : 228 return "exception"; 229 case _dk_native : 230 return "native"; 231 case _dk_operation : 232 return "operation"; 233 case _dk_struct : 234 return "struct"; 235 case _dk_union : 236 return "union"; 237 case _dk_value_box : 238 return "value_box"; 239 case _dk_value : 240 return "value"; 241 case _dk_value_member : 242 return "value_member"; 243 case _dk_component : 244 return "component"; 245 case _dk_consumes : 246 return "consumes"; 247 case _dk_emits : 248 return "emits"; 249 case _dk_publishes : 250 return "publishes"; 251 case _dk_provides : 252 return "provides"; 253 case _dk_uses : 254 return "uses"; 255 case _dk_home : 256 return "home"; 257 case _dk_factory : 258 return "factory"; 259 case _dk_finder : 260 return "finder"; 261 case _dk_event : 262 return "event"; 263 case _dk_repository : 264 return "repository"; 265 default : 266 return "null"; 267 } 268 } 269 } 270 | Popular Tags |