Package org.eclipse.jdt.internal.core

Examples of org.eclipse.jdt.internal.core.ResolvedBinaryType


    context = new JavaContentAssistInvocationContext(viewer, offset, new CompilationUnitEditor()) {
      @SuppressWarnings("restriction")
      @Override
      public IType getExpectedType() {
        JavaElement je = null;
        return new ResolvedBinaryType(je, "String", "java.lang.String");
      }

      @Override
      public IDocument getDocument() {
        String content = javaDocument.get();
View Full Code Here


  private int getJavaLine(final JavaElement je, final String wid) {
    Assert.isNotNull(je);
    try {
      if (je instanceof ResolvedBinaryType) {
        ResolvedBinaryType rbt = (ResolvedBinaryType) je;
        String source = rbt.getSource(); // try to get the source
        // shorten search for know wicket:ids
        if ((je.getElementName().equals("FilterToolbar") && ("focus-tracker".equals(wid) || "focus-restore".equals(wid)))
            || ("cols".equals(wid) && je.getElementName().equals("GridView"))) {
          return 1;
        }
View Full Code Here

            superclass = superclass.getSuperclass();
          }
        }
        if (javaElement != null) {
          set.add((JavaElement) javaElement);
          final ResolvedBinaryType rbt = (ResolvedBinaryType) javaElement.getAdapter(ResolvedBinaryType.class);
          if (rbt != null) {
            set.add(rbt);
          }
        }
        return true;
View Full Code Here

        }
        return hierarchyContainsComponent(type);
      }
    }
    if ((javaElement instanceof ResolvedBinaryType)) {
      final ResolvedBinaryType method = (ResolvedBinaryType) javaElement;
      return hierarchyContainsComponent(method);
    }
    return false;
  }
View Full Code Here

TOP

Related Classes of org.eclipse.jdt.internal.core.ResolvedBinaryType

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.