public void findAfter( char[] startWith, Scope scope, ClassScope classScope, int from, int to, char[][] discouragedNames, UnresolvedReferenceNameRequestor nameRequestor) { MethodDeclaration fakeMethod = this.findAfter( startWith, scope, from, to, MAX_LINE_COUNT / 2, true, discouragedNames, nameRequestor); if (fakeMethod != null) fakeMethod.traverse(this, classScope); }
public void find( char[] startWith, AbstractMethodDeclaration methodDeclaration, int from, char[][] discouragedNames, UnresolvedReferenceNameRequestor nameRequestor) { MethodDeclaration fakeMethod = this.findAfter( startWith, methodDeclaration.scope, from, methodDeclaration.bodyEnd, MAX_LINE_COUNT, false, discouragedNames, nameRequestor); if (fakeMethod != null) fakeMethod.traverse(this, methodDeclaration.scope.classScope()); }
public void find( char[] startWith, Initializer initializer, ClassScope scope, int from, char[][] discouragedNames, UnresolvedReferenceNameRequestor nameRequestor) { MethodDeclaration fakeMethod = this.findAfter( startWith, scope, from, initializer.bodyEnd, MAX_LINE_COUNT, false, discouragedNames, nameRequestor); if (fakeMethod != null) fakeMethod.traverse(this, scope); }