Package org.eclipse.jdt.core

Examples of org.eclipse.jdt.core.IOpenable


    this.types.add(parser);
  }

  public void consumeSecondaryType(char[] simpleTypeName) {
    if (this.element == null) return;
    IOpenable openable = this.element.getOpenable();
    if (!(openable instanceof ICompilationUnit)) return;
    this.element = ((ICompilationUnit) openable).getType(new String(simpleTypeName));
  }
View Full Code Here


          return InheritDocVisitor.CONTINUE;
        if (member.getAttachedJavadoc(null) != null ) { 
          // for binary methods with attached javadoc and no source attached
          return overridden;
        }
        IOpenable openable = member.getOpenable();
        if (openable == null)
          return InheritDocVisitor.CONTINUE;
        IBuffer buf= openable.getBuffer();
        if (buf == null) {
          // no source attachment found. This method maybe the one. Stop.
          return InheritDocVisitor.STOP_BRANCH;
        }
View Full Code Here

        Enumeration<?> openBuffers = BufferManager.getDefaultBufferManager()
            .getOpenBuffers();
        while (openBuffers.hasMoreElements())
        {
          IBuffer buffer = (IBuffer) openBuffers.nextElement();
          IOpenable owner = buffer.getOwner();

          if (owner instanceof IClassFile)
          {
            IClassFile bufClassFile = (IClassFile) owner;
            PackageFragmentRoot bufRoot = SelectUtils.getRoot(bufClassFile);
View Full Code Here

TOP

Related Classes of org.eclipse.jdt.core.IOpenable

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.