Package org.aspectj.org.eclipse.jdt.internal.codeassist

Examples of org.aspectj.org.eclipse.jdt.internal.codeassist.CompletionEngine.complete()


      }
      engine.lookupEnvironment.cacheBinaryType(binary, null /*no access restriction*/);
    }
  }
 
  engine.complete(sourceUnit, mapper.startPosOffset + completionPosition, mapper.startPosOffset);
}
/**
* Deletes the given variable from this evaluation context. This will take effect in the target VM only
* the next time global variables are installed.
*/
 
View Full Code Here


        fakeSource,
        null,
        getElementName(),
        project); // use project to retrieve corresponding .java IFile

    engine.complete(cu, prefix.length + position, prefix.length);
  } else {
    engine.complete(this, snippet, position, localVariableTypeNames, localVariableNames, localVariableModifiers, isStatic);
  }
  if (NameLookup.VERBOSE) {
    System.out.println(Thread.currentThread() + " TIME SPENT in NameLoopkup#seekTypesInSourcePackage: " + environment.nameLookup.timeSpentInSeekTypesInSourcePackage + "ms")//$NON-NLS-1$ //$NON-NLS-2$
View Full Code Here

        getElementName(),
        project); // use project to retrieve corresponding .java IFile

    engine.complete(cu, prefix.length + position, prefix.length);
  } else {
    engine.complete(this, snippet, position, localVariableTypeNames, localVariableNames, localVariableModifiers, isStatic);
  }
  if (NameLookup.VERBOSE) {
    System.out.println(Thread.currentThread() + " TIME SPENT in NameLoopkup#seekTypesInSourcePackage: " + environment.nameLookup.timeSpentInSeekTypesInSourcePackage + "ms")//$NON-NLS-1$ //$NON-NLS-2$
    System.out.println(Thread.currentThread() + " TIME SPENT in NameLoopkup#seekTypesInBinaryPackage: " + environment.nameLookup.timeSpentInSeekTypesInBinaryPackage + "ms")//$NON-NLS-1$ //$NON-NLS-2$
  }
View Full Code Here

        fakeSource,
        null,
        getElementName(),
        getParent());

    engine.complete(cu, prefix.length + position, prefix.length);
  } else {
    engine.complete(this, snippet, position, localVariableTypeNames, localVariableNames, localVariableModifiers, isStatic);
  }
  if (NameLookup.VERBOSE) {
    System.out.println(Thread.currentThread() + " TIME SPENT in NameLoopkup#seekTypesInSourcePackage: " + environment.nameLookup.timeSpentInSeekTypesInSourcePackage + "ms")//$NON-NLS-1$ //$NON-NLS-2$
View Full Code Here

        getElementName(),
        getParent());

    engine.complete(cu, prefix.length + position, prefix.length);
  } else {
    engine.complete(this, snippet, position, localVariableTypeNames, localVariableNames, localVariableModifiers, isStatic);
  }
  if (NameLookup.VERBOSE) {
    System.out.println(Thread.currentThread() + " TIME SPENT in NameLoopkup#seekTypesInSourcePackage: " + environment.nameLookup.timeSpentInSeekTypesInSourcePackage + "ms")//$NON-NLS-1$ //$NON-NLS-2$
    System.out.println(Thread.currentThread() + " TIME SPENT in NameLoopkup#seekTypesInBinaryPackage: " + environment.nameLookup.timeSpentInSeekTypesInBinaryPackage + "ms")//$NON-NLS-1$ //$NON-NLS-2$
  }
View Full Code Here

  // set unit to skip
  environment.unitToSkip = unitToSkip;

  // code complete
  CompletionEngine engine = new CompletionEngine(environment, requestor, project.getOptions(true), project);
  engine.complete(cu, position, 0);
  if(performanceStats != null) {
    performanceStats.endRun();
  }
  if (NameLookup.VERBOSE) {
    System.out.println(Thread.currentThread() + " TIME SPENT in NameLoopkup#seekTypesInSourcePackage: " + environment.nameLookup.timeSpentInSeekTypesInSourcePackage + "ms")//$NON-NLS-1$ //$NON-NLS-2$
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.