Class SourceFile

java.lang.Object
org.eclipse.core.runtime.PlatformObject
org.eclipse.handly.model.impl.support.Element
org.eclipse.handly.model.impl.support.SourceFile
All Implemented Interfaces:
org.eclipse.core.runtime.IAdaptable, IElement, IElementImpl, IElementImplExtension, ISourceElementImpl, ISourceFileImpl, ISourceFileImplExtension, IElementImplSupport, IModelManager.Provider, ISourceElementImplSupport, ISourceFileImplSupport, ISourceElement, ISourceFile
Direct Known Subclasses:
BaseSourceFile, FsSourceFile, WorkspaceSourceFile

public abstract class SourceFile extends Element implements ISourceFileImplSupport
Provides a skeletal implementation of ISourceFileImplExtension to minimize the effort required to implement that interface. Clients might as well implement ("mix in") ISourceFileImplSupport directly if extending this class is not possible/desirable for some reason.
See Also:
  • Constructor Details

    • SourceFile

      public SourceFile(IElement parent, String name)
      Constructs a handle for a source file with the given parent element and the given name.
      Parameters:
      parent - the parent of the element, or null if the element has no parent
      name - the name of the element, or null if the element has no name