Packages

class ApexMethodDeclaration extends ClassBodyDeclaration with ApexMethodLike

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ApexMethodDeclaration
  2. ApexMethodLike
  3. Referenceable
  4. ApexVisibleMethodLike
  5. MethodDeclaration
  6. Parameters
  7. Dependent
  8. IdentityEquality
  9. ClassBodyDeclaration
  10. ApexNode
  11. IdLocatable
  12. DependencyHolder
  13. CST
  14. Positionable
  15. UnsafeLocatable
  16. Locatable
  17. AnyRef
  18. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new ApexMethodDeclaration(thisType: ThisType, _modifiers: ModifierResults, returnTypeName: RelativeTypeName, id: Id, parameters: ArraySeq[FormalParameter], block: Option[Block])

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. def addDependencyHolder(dependencyHolder: DependencyHolder): Unit
    Definition Classes
    Dependent
  5. 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
  6. def addShadow(method: MethodDeclaration): Unit
    Definition Classes
    ApexMethodLike
  7. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  8. val block: Option[Block]
  9. val children: ArraySeq[ApexNode]
    Definition Classes
    ApexMethodDeclarationApexNode
  10. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  11. def collectDependencies(dependsOn: Set[Dependent]): Unit
    Definition Classes
    ClassBodyDeclaration
  12. def collectIssues(issues: ArrayBuffer[Issue]): Unit
    Attributes
    protected
    Definition Classes
    ApexNode
  13. def collectIssues(): ArraySeq[Issue]
    Definition Classes
    ApexNode
  14. def collectRelatedReferencable(): Set[ApexMethodLike]

    Collects all related Referenceable instances, including the current method and all parent and child methods in the shadow hierarchy.

    Collects all related Referenceable instances, including the current method and all parent and child methods in the shadow hierarchy.

    returns

    A set of Referenceable instances related to the current method.

    Definition Classes
    ApexMethodLikeReferenceable
  15. 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
  16. def dependencySummary(): Array[DependentSummary]

    Convert dependencies into a summary format

    Convert dependencies into a summary format

    Definition Classes
    DependencyHolder
  17. var depends: Option[SkinnySet[Dependent]]
    Attributes
    protected
    Definition Classes
    ClassBodyDeclaration
  18. val description: String
    Definition Classes
    ClassBodyDeclarationApexNode
  19. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  20. def equals(that: Any): Boolean
    Definition Classes
    IdentityEquality → AnyRef → Any
  21. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  22. def fulfillsInterfaceMethodParams(from: ApexClassDeclaration, implMethod: MethodDeclaration): Boolean

    Test if this method matches the provided params when fulfilling an interface method.

    Test if this method matches the provided params when fulfilling an interface method. The basic approach here is that each param of the interface method must be assignable to the implMethod so that only widening of the types is supported.

    Definition Classes
    MethodDeclaration
  23. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  24. 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
  25. def getDependencyHolders: Set[DependencyHolder]
    Definition Classes
    Dependent
  26. val hasBlock: Boolean
  27. def hasCompatibleParameters(params: ArraySeq[TypeName], allowPlatformGenericEquivalence: Boolean): Boolean

    Test if this params are compatible with those passed.

    Test if this params are compatible with those passed. Ideally this would just be a comparison of type names but there is a quirk in how platform generic interfaces are handled.

    Definition Classes
    Parameters
  28. def hasHolders: Boolean
    Definition Classes
    Dependent
  29. def hasMoreSpecificParams(otherParams: ArraySeq[ParameterDeclaration], params: ArraySeq[TypeName], context: VerifyContext): Option[Boolean]

    Determine if this params is a more specific version of the passed params.

    Determine if this params is a more specific version of the passed params. For this to be true all the parameters of this parameters must be assignable to the corresponding parameter of the other method. However, when dealing with RecordSets (SOQL results) we also prioritise degrees of specificness and use those to select as well.

    Definition Classes
    Parameters
  30. def hasNonTestHolders: Boolean
    Definition Classes
    Dependent
  31. def hasSameParameters(other: MethodDeclaration, allowPlatformGenericEquivalence: Boolean): Boolean

    Test if the passed method has params compatible with this method.

    Test if the passed method has params compatible with this method. Ideally this would just be a comparison of type names but there is a quirk in how platform generic interfaces are handled.

    Definition Classes
    MethodDeclaration
  32. def hasSameSignature(other: MethodDeclaration, allowPlatformGenericEquivalence: Boolean): Boolean
    Definition Classes
    MethodDeclaration
  33. def hashCode(): Int
    Definition Classes
    IdentityEquality → AnyRef → Any
  34. def idLocation: Location
    Definition Classes
    ApexMethodDeclarationIdLocatable
  35. def idPathLocation: PathLocation
    Definition Classes
    IdLocatable
  36. val inTest: Boolean

    Is the holder within test code

    Is the holder within test code

    Definition Classes
    ApexMethodDeclarationDependencyHolder
  37. def isAbstract: Boolean
    Definition Classes
    MethodDeclaration
  38. def isExternallyVisible: Boolean
    Definition Classes
    MethodDeclaration
  39. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  40. def isOverride: Boolean
    Definition Classes
    MethodDeclaration
  41. def isStatic: Boolean
    Definition Classes
    MethodDeclaration
  42. def isSynthetic: Boolean
  43. def isTestVisible: Boolean
    Definition Classes
    MethodDeclaration
  44. def isVirtual: Boolean
    Definition Classes
    MethodDeclaration
  45. def localIssues: Seq[Issue]
    Definition Classes
    ApexNode
  46. def location: PathLocation
    Definition Classes
    PositionableUnsafeLocatableLocatable
  47. def modifierIssues: ArraySeq[Issue]
    Definition Classes
    ClassBodyDeclaration
  48. val modifiers: ArraySeq[Modifier]
    Definition Classes
    ClassBodyDeclarationApexNode
  49. val name: Name
  50. def nameAndParameterTypes: String
    Definition Classes
    MethodDeclaration
  51. val nature: Nature
    Definition Classes
    ApexMethodDeclarationApexNode
  52. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  53. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  54. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  55. def parameterTypes: String
    Definition Classes
    MethodDeclaration
  56. val parameters: ArraySeq[FormalParameter]
    Definition Classes
    ApexMethodDeclarationParameters
  57. val parseIssues: ArraySeq[Issue]
    Definition Classes
    ClassBodyDeclarationApexNode
  58. 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
  59. def resetShadows(): Unit
    Definition Classes
    ApexMethodLike
  60. def safeLocation: Option[PathLocation]
    Definition Classes
    UnsafeLocatable
  61. def setDepends(dependencies: SkinnySet[Dependent]): Unit
    Definition Classes
    ClassBodyDeclaration
  62. def setLocation(path: PathLike, startLine: Int, startOffset: Int, endLine: Int, endOffset: Int): Unit
    Definition Classes
    Positionable
  63. def shadowedBy: Set[MethodDeclaration]
    Definition Classes
    ApexMethodLike
  64. def shadows: Set[MethodDeclaration]
    Definition Classes
    ApexMethodLike
  65. lazy val signature: String
  66. def summary: MethodSummary
  67. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  68. 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
    ApexMethodDeclarationApexMethodLikeReferenceable
  69. 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
    ApexMethodLikeDependencyHolder
  70. def toString(): String
    Definition Classes
    MethodDeclaration → AnyRef → Any
  71. def typeName: TypeName
  72. def validate(context: BodyDeclarationVerifyContext): Unit
    Definition Classes
    ClassBodyDeclaration
  73. def verify(context: BodyDeclarationVerifyContext): Unit
  74. def visibility: Option[Modifier]
    Definition Classes
    MethodDeclaration
  75. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  76. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  77. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  78. def withContext(context: ParserRuleContext): ApexMethodDeclaration.this.type
    Definition Classes
    CST
  79. def withLocation(location: PathLocation): ApexMethodDeclaration.this.type
    Definition Classes
    Positionable

Inherited from ApexMethodLike

Inherited from Referenceable

Inherited from ApexVisibleMethodLike

Inherited from MethodDeclaration

Inherited from Parameters

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