Class AssistImportContainer

All Implemented Interfaces:
IImportContainer, IJavaElement, IParent, ISourceReference, org.eclipse.core.runtime.IAdaptable

public class AssistImportContainer extends ImportContainer
  • Constructor Details

    • AssistImportContainer

      public AssistImportContainer(CompilationUnit parent, Map infoCache)
  • Method Details

    • getElementInfo

      public Object getElementInfo(org.eclipse.core.runtime.IProgressMonitor monitor) throws JavaModelException
      Description copied from class: JavaElement
      Returns the info for this handle. If this element is not already open, it and all of its parents are opened. Does not return null. NOTE: BinaryType infos are NOT rooted under JavaElementInfo.
      Overrides:
      getElementInfo in class JavaElement
      Throws:
      JavaModelException - if the element is not present or not accessible
    • getImport

      protected IImportDeclaration getImport(String importName, boolean isOnDemand)
      Overrides:
      getImport in class ImportContainer