Package org.aspectj.org.eclipse.jdt.core

Examples of org.aspectj.org.eclipse.jdt.core.CompletionRequestor


/**
* Returns a completion requestor that wraps the given requestor and shift the results
* according to the start offset and line number offset of the code snippet in the generated compilation unit.
*/
public CompletionRequestor getCompletionRequestor(final CompletionRequestor originalRequestor) {
  return new CompletionRequestor() {
    public void accept(CompletionProposal proposal) {
      switch(proposal.getKind()) {
        case CompletionProposal.TYPE_REF:
          int flags = proposal.getFlags();
          if((flags & Flags.AccEnum) == 0 &&
View Full Code Here

TOP

Related Classes of org.aspectj.org.eclipse.jdt.core.CompletionRequestor

Copyright © 2018 www.massapicom. 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.