class OrgImpl extends TriOrg with Org with OrgTestClasses
- Alphabetic
- By Inheritance
- OrgImpl
- OrgTestClasses
- Org
- TriOrg
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- def findTypeIdentifier(identifier: TypeIdentifier): Option[TypeDeclaration]
Search package modules for the TypeDeclaration matching a TypeIdentifier.
- def flush(): Boolean
Write dirty metadata to the cache, only works for manual flush orgs
- def getAllTestMethods: Array[TestMethod]
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def getCompletionItems(path: String, line: Int, offset: Int, content: String): Array[CompletionItemLink]
Get a array of completion suggestion given a source file contents and a position.
Get a array of completion suggestion given a source file contents and a position.
This will attempt to provide a list of possible completion suggestions at the position of the provided source file details. If none can be found it will return an empty array. Both the path and content must be provided for this. The path determines the scope of the search while the content is needed a we assume the on-disk source is not current. It is not necessary for the source content to be free of errors, but errors may impact the results.
- def getCompletionItemsInternal(path: PathLike, line: Int, offset: Int, content: String): Array[CompletionItemLink]
- def getDefinition(path: String, line: Int, offset: Int, content: String): Array[LocationLink]
Locate a definition for a symbol
- def getDependencies: Map[String, Array[String]]
Extract all dependencies
- def getDependencyBombs(count: Int): Array[BombScore]
Calculate an ordered list of classes which are having a big impact on classes dependencies, aka the 'Bombs'.
Calculate an ordered list of classes which are having a big impact on classes dependencies, aka the 'Bombs'.
The calculation takes into account the number of incoming and outgoing dependencies from each classes. High scoring classes must have a large number of both to be considered 'Bombs'. These classes are scored on a scale 0-100 and ranked highest->lowest. The first 'count' os these are returned for your ridicule.
- def getDependencyCounts(paths: Array[String], excludeTestClasses: Boolean): Array[DependencyCount]
- def getDependencyGraph(identifiers: Array[TypeIdentifier], depth: Integer, apexOnly: Boolean, ignoring: Array[TypeIdentifier]): DependencyGraph
Get a dependency graph for a type identifier.
Get a dependency graph for a type identifier.
Depth should be a positive integer that indicates how far to search from the starting node for the passed TypeIdentifier. The root node of the search is always returned if it can be found. Depths > 0 will include additional nodes.
- def getIdentifierLocation(identifier: TypeIdentifier): PathLocation
Find a location for an identifier
- def getImplementation(path: String, line: Int, offset: Int, content: String): Array[LocationLink]
Locate the implementations of interfaces and abstract methods and classes given the position
Locate the implementations of interfaces and abstract methods and classes given the position
This will attempt to locate the concrete implementation of the type definition or method at the provided line & offset in the path. The returned location are calculated based on the direct dependents and transitive dependents to find a concrete class that either has a super type that includes the type or a method signature from the path. If no location is found an empty array is returned. If content is null, path will be used to load the source code. It is not necessary for the file being searched from to be free of errors, but errors may impact the ability to locate inner classes within that file.
- def getPackageForPath(path: String): Package
Get the package containing the path.
- def getPackages(): Array[Package]
Get all loaded packages.
- lazy val getParserType: AvailableParser
- def getProjectConfig(): Option[ProjectConfig]
Get the current workspace config for the org
- def getReferences(path: String, line: Int, offset: Int): Array[TargetLocation]
Locate the references given the location and offset.
Locate the references given the location and offset.
This will attempt to find a body declaration (methods, fields or classes) at the given line & offset to find any blocks of code that is uses the found body declaration. This will return an array of locations at the point where the code is being used. If no references are found an empty array will be returned.
- def getTestClassNames(paths: Array[String]): Array[String]
- Definition Classes
- OrgTestClasses
- def getTestClassNamesInternal(paths: Array[PathLike]): Set[(String, Array[String])]
- Definition Classes
- OrgTestClasses
- def getTypeIdentifiers(apexOnly: Boolean): Array[TypeIdentifier]
Get a array of type identifiers available across all packages.
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def isDirty(): Boolean
Check to see if cache has been flushed
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def issues: IssuesManager
Provide access to IssueManager for org
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- val packages: ArraySeq[PackageImpl]
Packages in org in deploy order, the last entry is the unmanaged package identified by namespace = None
- lazy val packagesByNamespace: Map[Option[Name], TPackage]
Packages in org by namespace
Packages in org by namespace
- Definition Classes
- TriOrg
- val path: PathLike
- def queueMetadataRefresh(request: RefreshRequest): Unit
Queue a metadata refresh request
- val refreshLock: ReentrantLock
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- lazy val unmanaged: TPackage
All orgs have an unmanaged package, it has to be the last entry in 'packages'.
All orgs have an unmanaged package, it has to be the last entry in 'packages'.
- Definition Classes
- TriOrg
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- val workspace: Workspace