Packages

final case class InterfaceDeclaration(_source: Source, _module: Module, _typeContext: RelativeTypeContext, _typeName: TypeName, _outerTypeName: Option[TypeName], _id: Id, _modifiers: ModifierResults, _inTest: Boolean, _implementsTypes: ArraySeq[TypeName], _bodyDeclarations: ArraySeq[ClassBodyDeclaration]) extends FullDeclaration with Product with Serializable

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. InterfaceDeclaration
  2. Serializable
  3. Product
  4. Equals
  5. FullDeclaration
  6. ApexFullDeclaration
  7. ApexClassDeclaration
  8. Referenceable
  9. ApexDeclaration
  10. DependentType
  11. TypeDeclaration
  12. PreReValidatable
  13. Dependent
  14. IdentityEquality
  15. AbstractTypeDeclaration
  16. ClassBodyDeclaration
  17. ApexNode
  18. IdLocatable
  19. DependencyHolder
  20. CST
  21. Positionable
  22. UnsafeLocatable
  23. Locatable
  24. AnyRef
  25. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new InterfaceDeclaration(_source: Source, _module: Module, _typeContext: RelativeTypeContext, _typeName: TypeName, _outerTypeName: Option[TypeName], _id: Id, _modifiers: ModifierResults, _inTest: Boolean, _implementsTypes: ArraySeq[TypeName], _bodyDeclarations: ArraySeq[ClassBodyDeclaration])

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. val _bodyDeclarations: ArraySeq[ClassBodyDeclaration]
  5. val _id: Id
  6. val _implementsTypes: ArraySeq[TypeName]
  7. val _inTest: Boolean
  8. val _modifiers: ModifierResults
  9. val _module: Module
  10. val _outerTypeName: Option[TypeName]
  11. val _source: Source
  12. val _typeContext: RelativeTypeContext
  13. val _typeName: TypeName
  14. def addDependencyHolder(dependencyHolder: DependencyHolder): Unit
    Definition Classes
    Dependent
  15. def addReferencingLocation(referencingLocation: PathLocation): Unit

    Add a reference location to the list of references for this specific Referencable.

    Add a reference location to the list of references for this specific Referencable. Adding references is gated so that we can control when references are collected. This must be called from some part of the validation logic to establish the references.

    Definition Classes
    Referenceable
  16. def addTypeDependencyHolder(typeId: TypeId): Unit

    Add a single type dependency holders for this type.

    Add a single type dependency holders for this type.

    Definition Classes
    DependentType
  17. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  18. lazy val blocks: ArraySeq[ApexInitializerBlock]
    Definition Classes
    FullDeclarationTypeDeclaration
  19. val bodyDeclarations: ArraySeq[ClassBodyDeclaration]
    Definition Classes
    FullDeclaration
  20. def bombScore(total: Int): (Int, Int, Double)
    Definition Classes
    ApexClassDeclaration
  21. val children: ArraySeq[ApexNode]
    Definition Classes
    FullDeclarationApexNode
  22. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
  23. def collectDependencies(dependsOn: Set[Dependent]): Unit
  24. def collectInterfaces(found: Set[TypeDeclaration], visited: Set[TypeDeclaration] = mutable.Set()): Unit
    Definition Classes
    TypeDeclaration
  25. def collectIssues(issues: ArrayBuffer[Issue]): Unit
    Attributes
    protected
    Definition Classes
    ApexNode
  26. def collectIssues(): ArraySeq[Issue]
    Definition Classes
    ApexNode
  27. def collectRelatedReferencable(): Set[_ <: Referenceable]

    Collect all the referenceable elements that are related to this class.

    Collect all the referenceable elements that are related to this class. Override this to expand the reference search, such as for method overloading.

    Definition Classes
    Referenceable
  28. def constructorMap: ConstructorMap
    Definition Classes
    ApexClassDeclaration
  29. def constructors: ArraySeq[ConstructorDeclaration]
  30. val dead: Boolean

    Dead flag, set when discarded from module, useful to aid type cache eviction

    Dead flag, set when discarded from module, useful to aid type cache eviction

    Definition Classes
    TypeDeclaration
  31. def dependencies(): Iterable[Dependent]

    Get Dependents being held, default to empty for holders who do not use this, override as needed

    Get Dependents being held, default to empty for holders who do not use this, override as needed

    Definition Classes
    ClassBodyDeclarationDependencyHolder
  32. def dependencySummary(): Array[DependentSummary]

    Convert dependencies into a summary format

    Convert dependencies into a summary format

    Definition Classes
    DependencyHolder
  33. var depends: Option[SkinnySet[Dependent]]
    Attributes
    protected
    Definition Classes
    ClassBodyDeclaration
  34. val description: String
    Definition Classes
    ClassBodyDeclarationApexNode
  35. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  36. def equals(that: Any): Boolean
    Definition Classes
    IdentityEquality → AnyRef → Any
  37. def extendsOrImplements(typeName: TypeName): Boolean
    Definition Classes
    TypeDeclaration
  38. lazy val fields: ArraySeq[FieldDeclaration]
  39. def findConstructor(params: ArraySeq[TypeName], verifyContext: VerifyContext): Either[String, ConstructorDeclaration]
  40. def findDeclarationFromSourceReference(searchTerm: String, location: Location): Option[TypeDeclaration with Locatable]

    Locate a TypeDeclaration for the passed typeName that was extracted from location.

    Locate a TypeDeclaration for the passed typeName that was extracted from location.

    searchTerm

    The name of the type to search for.

    location

    The location of the type in the source code.

    returns

    An option containing the source reference, if found.

    Definition Classes
    FullDeclarationApexFullDeclaration
  41. def findField(name: Name, exclude: HashSet[TypeDeclaration] = new mutable.HashSet()): Option[FieldDeclaration]
    Attributes
    protected
    Definition Classes
    TypeDeclaration
  42. def findField(name: Name, staticContext: Option[Boolean]): Option[FieldDeclaration]
  43. def findLocalType(localName: TypeName): Option[TypeDeclaration]
    Definition Classes
    TypeDeclaration
  44. def findMethod(name: Name, params: ArraySeq[TypeName], staticContext: Option[Boolean], verifyContext: VerifyContext): Either[String, MethodDeclaration]
  45. def findNestedType(name: Name): Option[TypeDeclaration]
  46. def findReferenceableFromLocation(line: Int, offset: Int): Option[Referenceable]

    Get referenceable element at the specified line and offset.

    Get referenceable element at the specified line and offset.

    line

    The 1-based line number within the source file.

    offset

    The 0-based character offset within the line.

    returns

    A map from source locations to their corresponding validation results.

    Definition Classes
    ApexClassDeclarationApexDeclaration
  47. def flush(pc: ParsedCache, context: PackageContext): Unit

    Override to handle request to flush the type to passed cache if dirty

    Override to handle request to flush the type to passed cache if dirty

    Definition Classes
    FullDeclarationApexClassDeclaration
  48. def gatherDependencies(dependsOn: Set[TypeId], apexOnly: Boolean, outerTypesOnly: Boolean, typeCache: TypeCache): Unit

    Collect set of TypeIds that this declaration is dependent on.

    Collect set of TypeIds that this declaration is dependent on.

    You can filter to include only Apex dependencies and only outer classes of those. If outerTypesOnly is false then a dependency on an inner class will add both the TypeId for the inner class and it's outer class to make determining if a class is a dependency easier for callers.

    Definition Classes
    FullDeclarationDependentType
  49. def getBodyDeclarationFromLocation(line: Int, offset: Int): Option[(FullDeclaration, ClassBodyDeclaration)]

    Finds the body declaration (such as a method, field, or nested type) at the specified line and offset.

    Finds the body declaration (such as a method, field, or nested type) at the specified line and offset. Recursively searches nested types and returns the innermost matching (FullDeclaration, ClassBodyDeclaration) pair.

    line

    The line number to search (1-based).

    offset

    The character offset within the line (0-based).

    returns

    An Option containing the (FullDeclaration, ClassBodyDeclaration) if found, otherwise None.

    Definition Classes
    FullDeclaration
  50. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  51. def getCurrentReferences(refresh: (Seq[PathLike]) => Unit): Set[TargetLocation]

    Collect all reference locations for this Referencable.

    Collect all reference locations for this Referencable. The basic approach here is to collect references to things during a revalidation pass. The ReferenceProvider uses this.

    Definition Classes
    Referenceable
  52. def getDependencyHolders: Set[DependencyHolder]
    Definition Classes
    Dependent
  53. def getTypeDependencyHolders: SkinnySet[TypeId]

    Get current dependency holders

    Get current dependency holders

    Definition Classes
    DependentType
  54. def getValidationMap(line: Int, offset: Int): Map[Location, ValidationResult]

    Returns a map of validation results for the body declaration at the specified source location.

    Returns a map of validation results for the body declaration at the specified source location.

    This method locates the innermost body declaration (such as a method, field, or nested type) that contains the given line and offset. It then validates that declaration, collecting validation results for each relevant source location within it.

    If no matching body declaration is found, or if an error occurs during validation, an empty map is returned.

    line

    The 1-based line number within the source file.

    offset

    The 0-based character offset within the line.

    returns

    A map from source locations to their corresponding validation results.

    Definition Classes
    FullDeclarationApexFullDeclaration
  55. def hasHolders: Boolean
    Definition Classes
    Dependent
  56. def hasNonTestHolders: Boolean
    Definition Classes
    Dependent
  57. def hashCode(): Int
    Definition Classes
    IdentityEquality → AnyRef → Any
  58. val id: Id
    Definition Classes
    FullDeclaration
  59. val idLocation: Location
    Definition Classes
    FullDeclarationIdLocatable
  60. def idPathLocation: PathLocation
    Definition Classes
    IdLocatable
  61. def implements(typeName: TypeName, ignoreGenerics: Boolean): Boolean
    Definition Classes
    TypeDeclaration
  62. val inTest: Boolean

    Override to resolve conflict, TypeDeclaration & DependencyHolder both default false

    Override to resolve conflict, TypeDeclaration & DependencyHolder both default false

    Definition Classes
    FullDeclarationApexClassDeclarationTypeDeclarationDependencyHolder
  63. def interfaceDeclarations: ArraySeq[TypeDeclaration]
  64. val interfaces: ArraySeq[TypeName]
    Definition Classes
    FullDeclarationTypeDeclaration
  65. def isAbstract: Boolean
    Definition Classes
    TypeDeclaration
  66. lazy val isComplete: Boolean
  67. def isCustomException: Boolean
  68. lazy val isEntryPoint: Boolean
  69. def isExtensible: Boolean
    Definition Classes
    TypeDeclaration
  70. def isExternallyVisible: Boolean
    Definition Classes
    TypeDeclaration
  71. lazy val isFieldConstructed: Boolean
    Definition Classes
    TypeDeclaration
  72. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  73. lazy val isPageController: Boolean
    Definition Classes
    ApexClassDeclaration
  74. lazy val isSObject: Boolean
    Definition Classes
    TypeDeclaration
  75. def isVirtual: Boolean
    Definition Classes
    TypeDeclaration
  76. lazy val localConstructors: ArraySeq[ApexConstructorDeclaration]
  77. lazy val localFields: ArraySeq[ApexFieldLike]
  78. def localIssues: Seq[Issue]
    Definition Classes
    ApexNode
  79. lazy val localMethods: ArraySeq[ApexMethodDeclaration]
  80. def location: PathLocation
    Definition Classes
    PositionableUnsafeLocatableLocatable
  81. def methodMap: MethodMap
    Definition Classes
    ApexClassDeclaration
  82. def methods: ArraySeq[MethodDeclaration]
  83. def modifierIssues: ArraySeq[Issue]
    Definition Classes
    ClassBodyDeclaration
  84. val modifiers: ArraySeq[Modifier]
    Definition Classes
    ClassBodyDeclarationApexNode
  85. val module: Module

    The owning package, this is needed to disambiguate but restricts where DependentType can be used currently.

    The owning package, this is needed to disambiguate but restricts where DependentType can be used currently.

    Definition Classes
    FullDeclarationApexDeclarationDependentType
  86. val moduleDeclaration: Option[Module]
    Definition Classes
    FullDeclarationTypeDeclaration
  87. val name: Name
    Definition Classes
    FullDeclarationTypeDeclarationApexNode
  88. lazy val namespace: Option[Name]
    Definition Classes
    TypeDeclaration
  89. val nature: Nature
  90. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  91. def nestedTypes: ArraySeq[FullDeclaration]
  92. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  93. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  94. def outerTypeDeclaration: Option[TypeDeclaration]
    Definition Classes
    TypeDeclaration
  95. lazy val outerTypeId: TypeId

    TypeId for outer type (might be self)

    TypeId for outer type (might be self)

    Definition Classes
    DependentType
  96. val outerTypeName: Option[TypeName]
    Definition Classes
    FullDeclarationTypeDeclaration
  97. def outermostTypeDeclaration: TypeDeclaration
    Definition Classes
    TypeDeclaration
  98. val parseIssues: ArraySeq[Issue]
    Definition Classes
    ClassBodyDeclarationApexNode
  99. def paths: ArraySeq[PathLike]
    Definition Classes
    FullDeclarationTypeDeclaration
  100. def preReValidate(): Unit

    Reset local caches ready for re-validation

    Reset local caches ready for re-validation

    Definition Classes
    FullDeclarationApexClassDeclarationPreReValidatable
  101. def productElementNames: Iterator[String]
    Definition Classes
    Product
  102. def propagateDependencies(): Unit

    Inform each dependent this is holding a dependency to them

    Inform each dependent this is holding a dependency to them

    Definition Classes
    DependencyHolder
  103. def propagateOuterDependencies(typeCache: TypeCache): Unit

    Helper to update other types that you hold a dependency on them.

    Helper to update other types that you hold a dependency on them. Typically this need to be called after first creating a new type.

    Definition Classes
    DependentType
  104. def safeLocation: Option[PathLocation]
    Definition Classes
    UnsafeLocatable
  105. def safeValidate(): Unit
    Definition Classes
    TypeDeclaration
  106. def setDepends(dependencies: SkinnySet[Dependent]): Unit
    Definition Classes
    ClassBodyDeclaration
  107. def setLocation(path: PathLike, startLine: Int, startOffset: Int, endLine: Int, endOffset: Int): Unit
    Definition Classes
    Positionable
  108. def setTypeDependencyHolders(holders: SkinnySet[TypeId]): Unit

    Set type dependency holders, useful when carrying forward dependencies when a type if being replaced.

    Set type dependency holders, useful when carrying forward dependencies when a type if being replaced.

    Definition Classes
    DependentType
  109. lazy val signature: String
    Definition Classes
    ClassBodyDeclarationApexNode
  110. val source: Source
    Definition Classes
    FullDeclaration
  111. lazy val sourceHash: Int

    Calculate a hash for the source code of the declaration

    Calculate a hash for the source code of the declaration

    Definition Classes
    FullDeclarationApexDeclaration
  112. def summary: TypeSummary

    Create a summary for the of the declaration

    Create a summary for the of the declaration

    Definition Classes
    FullDeclarationApexDeclaration
  113. val superClass: Option[TypeName]
    Definition Classes
    FullDeclarationTypeDeclaration
  114. def superClassDeclaration: Option[TypeDeclaration]
  115. def superTypes(): List[TypeName]
    Definition Classes
    TypeDeclaration
  116. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  117. lazy val thisTypeId: TypeId

    Referencable must be able to provide a TypeId for the containing type to support revalidation.

    Referencable must be able to provide a TypeId for the containing type to support revalidation.

    Definition Classes
    ApexClassDeclarationReferenceable
  118. def thisTypeIdOpt: Option[TypeId]

    The TypeId for the containing type of the holder, optional as requires a module.

    The TypeId for the containing type of the holder, optional as requires a module.

    Definition Classes
    ApexClassDeclarationDependencyHolder
  119. def toString(): String
    Definition Classes
    ApexClassDeclaration → AnyRef → Any
  120. val typeContext: RelativeTypeContext
    Definition Classes
    FullDeclaration
  121. lazy val typeId: TypeId

    TypeId for this type

    TypeId for this type

    Definition Classes
    DependentType
  122. val typeName: TypeName
    Definition Classes
    FullDeclarationTypeDeclaration
  123. def validate(): Unit
    Attributes
    protected
    Definition Classes
    FullDeclarationTypeDeclaration
  124. def validate(context: BodyDeclarationVerifyContext): Unit
    Definition Classes
    ClassBodyDeclaration
  125. def validateFieldConstructorArguments(input: ExprContext, arguments: ArraySeq[Expression], context: ExpressionVerifyContext): Unit
    Definition Classes
    TypeDeclaration
  126. def verify(context: BodyDeclarationVerifyContext): Unit
  127. def verify(context: TypeVerifyContext): Unit
    Attributes
    protected
    Definition Classes
    FullDeclaration
  128. def visibility: Option[Modifier]
    Definition Classes
    TypeDeclaration
  129. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  130. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  131. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  132. def withContext(context: ParserRuleContext): InterfaceDeclaration.this.type
    Definition Classes
    CST
  133. def withLocation(location: PathLocation): InterfaceDeclaration.this.type
    Definition Classes
    Positionable

Deprecated Value Members

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

    (Since version 9)

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from FullDeclaration

Inherited from ApexFullDeclaration

Inherited from ApexClassDeclaration

Inherited from Referenceable

Inherited from ApexDeclaration

Inherited from DependentType

Inherited from TypeDeclaration

Inherited from PreReValidatable

Inherited from Dependent

Inherited from IdentityEquality

Inherited from ClassBodyDeclaration

Inherited from ApexNode

Inherited from IdLocatable

Inherited from DependencyHolder

Inherited from CST

Inherited from Positionable

Inherited from UnsafeLocatable

Inherited from Locatable

Inherited from AnyRef

Inherited from Any

Ungrouped