1 11 package org.eclipse.jdt.internal.compiler; 12 13 import org.eclipse.jdt.core.compiler.CategorizedProblem; 14 15 41 42 public interface IDocumentElementRequestor { 43 59 void acceptImport( 60 int declarationStart, 61 int declarationEnd, 62 int[] javaDocPositions, 63 char[] name, 64 int nameStartPosition, 65 boolean onDemand, 66 int modifiers); 67 84 void acceptInitializer( 85 int declarationStart, 86 int declarationEnd, 87 int[] javaDocPositions, 88 int modifiers, 89 int modifiersStart, 90 int bodyStart, 91 int bodyEnd); 92 99 void acceptLineSeparatorPositions(int[] positions); 100 115 void acceptPackage( 116 int declarationStart, 117 int declarationEnd, 118 int[] javaDocPositions, 119 char[] name, 120 int nameStartPosition); 121 124 void acceptProblem(CategorizedProblem problem); 125 155 void enterClass( 156 int declarationStart, 157 int[] javaDocPositions, 158 int modifiers, 159 int modifiersStart, 160 int classStart, 161 char[] name, 162 int nameStart, 163 int nameEnd, 164 char[] superclass, 165 int superclassStart, 166 int superclassEnd, 167 char[][] superinterfaces, 168 int[] superinterfaceStarts, 169 int[] superinterfaceEnds, 170 int bodyStart); 171 void enterCompilationUnit(); 172 203 void enterConstructor( 204 int declarationStart, 205 int[] javaDocPositions, 206 int modifiers, 207 int modifiersStart, 208 char[] name, 209 int nameStart, 210 int nameEnd, 211 char[][] parameterTypes, 212 int [] parameterTypeStarts, 213 int [] parameterTypeEnds, 214 char[][] parameterNames, 215 int [] parameterNameStarts, 216 int [] parameterNameEnds, 217 int parametersEnd, 218 char[][] exceptionTypes, 219 int [] exceptionTypeStarts, 220 int [] exceptionTypeEnds, 221 int bodyStart); 222 247 void enterField( 248 int declarationStart, 249 int[] javaDocPositions, 250 int modifiers, 251 int modifiersStart, 252 char[] type, 253 int typeStart, 254 int typeEnd, 255 int typeDimensionCount, 256 char[] name, 257 int nameStart, 258 int nameEnd, 259 int extendedTypeDimensionCount, 260 int extendedTypeDimensionEnd); 261 286 void enterInterface( 287 int declarationStart, 288 int[] javaDocPositions, 289 int modifiers, 290 int modifiersStart, 291 int interfaceStart, 292 char[] name, 293 int nameStart, 294 int nameEnd, 295 char[][] superinterfaces, 296 int[] superinterfaceStarts, 297 int[] superinterfaceEnds, 298 int bodyStart); 299 342 void enterMethod( 343 int declarationStart, 344 int[] javaDocPositions, 345 int modifiers, 346 int modifiersStart, 347 char[] returnType, 348 int returnTypeStart, 349 int returnTypeEnd, 350 int returnTypeDimensionCount, 351 char[] name, 352 int nameStart, 353 int nameEnd, 354 char[][] parameterTypes, 355 int [] parameterTypeStarts, 356 int [] parameterTypeEnds, 357 char[][] parameterNames, 358 int [] parameterNameStarts, 359 int [] parameterNameEnds, 360 int parametersEnd, 361 int extendedReturnTypeDimensionCount, 362 int extendedReturnTypeDimensionEnd, 363 char[][] exceptionTypes, 364 int [] exceptionTypeStarts, 365 int [] exceptionTypeEnds, 366 int bodyStart); 367 372 void exitClass( 373 int bodyEnd, 374 int declarationEnd); 375 378 void exitCompilationUnit( 379 int declarationEnd); 380 385 void exitConstructor( 386 int bodyEnd, 387 int declarationEnd); 388 393 void exitField( 394 int bodyEnd, 395 int declarationEnd); 396 401 void exitInterface( 402 int bodyEnd, 403 int declarationEnd); 404 409 void exitMethod( 410 int bodyEnd, 411 int declarationEnd); 412 } 413 | Popular Tags |