Packages

class PackageImpl extends TriPackage with PackageAPI with DefinitionProvider with CompletionProvider with ImplementationProvider with ReferenceProvider

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. PackageImpl
  2. ReferenceProvider
  3. ImplementationProvider
  4. CompletionProvider
  5. DefinitionProvider
  6. SourceOps
  7. PackageAPI
  8. Package
  9. TriPackage
  10. AnyRef
  11. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new PackageImpl(org: OrgImpl, namespace: Option[Name], isGulped: Boolean, basePackages: ArraySeq[PackageImpl], workspace: Workspace, layers: ArraySeq[ModuleLayer], mdlFactory: (PackageImpl, ArraySeq[Module], DocumentIndex) => Module, logger: IssueLogger)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. val basePackages: ArraySeq[PackageImpl]

    The packages this package depends on

    The packages this package depends on

    Definition Classes
    PackageImplTriPackage
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  9. def firstModule: Option[TModule]
    Definition Classes
    TriPackage
  10. def flush(pc: ParsedCache): Unit

    Flush all types to the passed cache

    Flush all types to the passed cache

    Definition Classes
    PackageAPI
  11. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  12. def getCompletionItems(path: PathLike, line: Int, offset: Int, content: String): Array[CompletionItemLink]
    Definition Classes
    CompletionProvider
  13. def getDefinition(path: PathLike, line: Int, offset: Int, content: Option[String]): Array[LocationLink]
    Definition Classes
    DefinitionProvider
  14. def getDependencies(typeId: TypeIdentifier, outerInheritanceOnly: Boolean, apexOnly: Boolean): Array[TypeIdentifier]

    Returns set of Types that are depended on by the passed Type

    Returns set of Types that are depended on by the passed Type

    If outerInheritanceOnly is true only extending and implementing dependencies are reported for the outer Type of Apex defined types. If apexOnly is true then only Apex defined types are returned.

    Definition Classes
    PackageAPIPackage
  15. def getDependencyHolders(typeId: TypeIdentifier, apexOnly: Boolean): Array[TypeIdentifier]

    Returns set of Types that depend on the passed Type.

    Returns set of Types that depend on the passed Type.

    The returned array may be stale in that it can contain Types which used to hold a dependency but not longer do. If apexOnly is true then only Apex defined types are returned.

    Definition Classes
    PackageAPIPackage
  16. def getDependentType(typeName: TypeName): Option[DependentType]
    Definition Classes
    PackageAPI
  17. def getImplementation(path: PathLike, line: Int, offset: Int, content: Option[String]): Array[LocationLink]
    Definition Classes
    ImplementationProvider
  18. def getNamespaces(withDependents: Boolean): Array[String]

    The namespace of the package or the package and its dependent packages.

    The namespace of the package or the package and its dependent packages.

    An empty namespace indicates the "unmanaged" package.

    Definition Classes
    PackageAPIPackage
  19. def getPackageModule(path: PathLike): Option[Module]

    Find module for a path.

  20. def getPathsOfType(typeId: TypeIdentifier): Array[String]

    Get the path(s) of the metadata file that defined a Type.

    Get the path(s) of the metadata file that defined a Type.

    Returns an empty array if the Type is not defined within the current package.

    Definition Classes
    PackageAPIPackage
  21. def getReferences(path: PathLike, line: Int, offset: Int): Array[TargetLocation]
    Definition Classes
    ReferenceProvider
  22. def getSummaryOfType(typeId: TypeIdentifier): TypeSummary

    Get the summary information for a Type.

    Get the summary information for a Type.

    Returns a null if the Type is not defined within the current package.

    Definition Classes
    PackageAPIPackage
  23. def getSummaryOfTypeAsJSON(typeId: TypeIdentifier): String

    JSON encoding of summary information for a type.

    JSON encoding of summary information for a type.

    Returns a null if the Type is not defined within the current package.

    Definition Classes
    PackageAPIPackage
  24. def getTypeIdentifier(typeName: TypeName): TypeIdentifier

    Get a TypeIdentifier for a TypeName resolved against this package.

    Get a TypeIdentifier for a TypeName resolved against this package.

    Returns null if the TypeName is not visible in this package.

    Definition Classes
    PackageAPIPackage
  25. def getTypeIdentifiers(apexOnly: Boolean): Array[TypeIdentifier]

    Get a array of type identifiers from this packages modules.

    Get a array of type identifiers from this packages modules.

    Definition Classes
    PackageAPIPackage
  26. def getTypeOfPath(path: String): TypeIdentifier

    Get a Type from the path of a metadata file.

    Get a Type from the path of a metadata file.

    Returns a null if the path does not identify metadata that creates a Type within the current package.

    Definition Classes
    PackageAPIPackage
  27. def hasDependency(typeId: TypeIdentifier, dependencyTypeId: TypeIdentifier): Boolean

    Returns true if the type identified by typeId depends in the type identified by dependencyTypeId.

    Returns true if the type identified by typeId depends in the type identified by dependencyTypeId.

    This will return true where the type depends on an inner class of dependencyTypeId. All dependencies of typeId are considered including those of any inner class.

    Definition Classes
    PackageAPIPackage
  28. lazy val hasGhosted: Boolean

    Is this or any base package of this a ghost package.

  29. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  30. lazy val isGhosted: Boolean

    Is this a ghost package, aka it has no modules.

    Is this a ghost package, aka it has no modules.

    Definition Classes
    TriPackage
  31. def isGhostedFieldName(name: Name): Boolean

    Check if a field name is ghosted in this package.

    Check if a field name is ghosted in this package.

    Definition Classes
    TriPackage
  32. def isGhostedType(typeName: TypeName): Boolean
    Definition Classes
    TriPackage
  33. val isGulped: Boolean

    Was this package loaded from gulped metadata

    Was this package loaded from gulped metadata

    Definition Classes
    PackageImplTriPackage
  34. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  35. def isPackagePath(path: String): Boolean

    Test if a metadata file path is part of this package.

    Test if a metadata file path is part of this package.

    Return null if this either not a recognised metadata file type or it is not part of this package.

    Definition Classes
    PackageAPIPackage
  36. def isPackagePathInternal(path: PathLike): Boolean
    Definition Classes
    PackageAPI
  37. def loadClass(path: PathLike, source: String): (Option[(ApexParser, CompilationUnitContext)], Option[ApexFullDeclaration])

    Load a class to obtain it's FullDeclaration, issues are not updated, this just returns a temporary version of the class so that it can be inspected.

    Load a class to obtain it's FullDeclaration, issues are not updated, this just returns a temporary version of the class so that it can be inspected.

    Attributes
    protected
  38. def loadFullSourceAndType(path: PathLike, content: Option[String]): Option[(String, ApexFullDeclaration)]
    Definition Classes
    SourceOps
  39. def loadRawType(path: PathLike, source: String): Option[(String, ApexFullDeclaration)]
    Definition Classes
    SourceOps
  40. def loadSource(path: PathLike, content: Option[String]): Option[String]
    Definition Classes
    SourceOps
  41. def loadTrigger(path: PathLike, source: String): (Option[(ApexParser, TriggerUnitContext)], Option[ApexFullDeclaration])
    Attributes
    protected
  42. def loadTypeFromModule(path: PathLike): Option[TypeDeclaration]
    Definition Classes
    SourceOps
  43. def locateFromValidation(td: ApexFullDeclaration, line: Int, offset: Int): (Map[Location, ValidationResult], Option[Location])

    Extract a location link from an expression at the passed location

    Extract a location link from an expression at the passed location

    Definition Classes
    SourceOps
  44. val modules: ArraySeq[Module]

    The modules in this package in deploy order

    The modules in this package in deploy order

    Definition Classes
    PackageImplTriPackage
  45. val namespace: Option[Name]

    Namespace for the package, None=unmanaged

    Namespace for the package, None=unmanaged

    Definition Classes
    PackageImplTriPackage
  46. lazy val namespaces: Set[Name]

    Set of namespaces used by this package and its base packages.

  47. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  48. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  49. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  50. lazy val orderedModules: ArraySeq[TModule]

    Package modules in reverse deploy order.

    Package modules in reverse deploy order.

    Definition Classes
    TriPackage
  51. val org: OrgImpl

    The parent org that this package belongs to

    The parent org that this package belongs to

    Definition Classes
    PackageImplTriPackage
  52. def packageContext: PackageContext

    Get summary of package context containing namespace & base package namespace information.

  53. def reValidate(references: Set[TypeId]): Unit
    Attributes
    protected
    Definition Classes
    PackageAPI
  54. def refresh(path: String, highPriority: Boolean): Unit

    Refresh a type in the package.

    Refresh a type in the package.

    This registers that the metadata in a file may need updating. The refresh is queued until the Org metadata is next flushed so that changes are made in batches for efficiency. Refreshing causes dependent metadata to be re-validated so issues may be reported against other metadata types after the flush has completed.

    If there is no file at the given path then any previous contribution to the package metadata from this file will be removed so you call this after file deletion.

    Definition Classes
    PackageAPIPackage
  55. def refreshBatched(refreshRequests: Seq[RefreshRequest]): Boolean
    Definition Classes
    PackageAPI
  56. def refreshInternal(path: PathLike): Seq[(TypeId, Set[TypeId])]
    Definition Classes
    PackageAPI
  57. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  58. def toString(): String
    Definition Classes
    TriPackage → AnyRef → Any
  59. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  60. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  61. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from ReferenceProvider

Inherited from ImplementationProvider

Inherited from CompletionProvider

Inherited from DefinitionProvider

Inherited from SourceOps

Inherited from PackageAPI

Inherited from Package

Inherited from OPM.TriPackage

Inherited from AnyRef

Inherited from Any

Ungrouped