Packages

class ApexMethodDeclaration extends ClassBodyDeclaration with ApexMethodLike with Referenceable

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ApexMethodDeclaration
  2. ApexMethodLike
  3. Referenceable
  4. PreReValidatable
  5. ApexVisibleMethodLike
  6. MethodDeclaration
  7. Parameters
  8. Dependent
  9. IdentityEquality
  10. ClassBodyDeclaration
  11. ApexNode
  12. IdLocatable
  13. DependencyHolder
  14. CST
  15. Positionable
  16. UnsafeLocatable
  17. Locatable
  18. AnyRef
  19. 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 addLocation(pathLocation: PathLocation): Unit
    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 collectMethods(): Set[ApexMethodLike]
    Definition Classes
    ApexMethodLike
  15. def collectReferences(): Set[TargetLocation]

    Returns the detailed reference locations

    Returns the detailed reference locations

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

    Convert dependencies into a summary format

    Convert dependencies into a summary format

    Definition Classes
    DependencyHolder
  18. var depends: Option[SkinnySet[Dependent]]
    Attributes
    protected
    Definition Classes
    ClassBodyDeclaration
  19. val description: String
    Definition Classes
    ClassBodyDeclarationApexNode
  20. def doesNeedReValidation(): Boolean
    Definition Classes
    Referenceable
  21. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  22. def equals(that: Any): Boolean
    Definition Classes
    IdentityEquality → AnyRef → Any
  23. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  24. def findReferences(): Set[TargetLocation]
    Definition Classes
    Referenceable
  25. 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
  26. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  27. def getDependencyHolders: Set[DependencyHolder]
    Definition Classes
    Dependent
  28. def getReferenceHolderTypeIds: Set[TypeId]

    This represents a high level view of all the types that hold a reference to this object.

    This represents a high level view of all the types that hold a reference to this object. Returns the types that needs can be revalidated to build up the more specific reference locations.

    Definition Classes
    ApexMethodLikeReferenceable
  29. def getTargetLocations: Array[TargetLocation]
    Definition Classes
    Referenceable
  30. val hasBlock: Boolean
  31. 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
  32. def hasHolders: Boolean
    Definition Classes
    Dependent
  33. 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
  34. def hasNonTestHolders: Boolean
    Definition Classes
    Dependent
  35. 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
  36. def hasSameSignature(other: MethodDeclaration, allowPlatformGenericEquivalence: Boolean): Boolean
    Definition Classes
    MethodDeclaration
  37. def hashCode(): Int
    Definition Classes
    IdentityEquality → AnyRef → Any
  38. def idLocation: Location
    Definition Classes
    ApexMethodDeclarationIdLocatable
  39. def idPathLocation: PathLocation
    Definition Classes
    IdLocatable
  40. val inTest: Boolean

    Is the holder within test code

    Is the holder within test code

    Definition Classes
    ApexMethodDeclarationDependencyHolder
  41. def isAbstract: Boolean
    Definition Classes
    MethodDeclaration
  42. lazy val isExternallyVisible: Boolean
    Definition Classes
    MethodDeclaration
  43. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  44. def isOverride: Boolean
    Definition Classes
    MethodDeclaration
  45. def isStatic: Boolean
    Definition Classes
    MethodDeclaration
  46. def isSynthetic: Boolean
  47. def isTestVisible: Boolean
    Definition Classes
    MethodDeclaration
  48. def isVirtual: Boolean
    Definition Classes
    MethodDeclaration
  49. def isVirtualOrAbstract: Boolean
    Definition Classes
    MethodDeclaration
  50. def isVirtualOrOverride: Boolean
    Definition Classes
    MethodDeclaration
  51. def localIssues: Seq[Issue]
    Definition Classes
    ApexNode
  52. def location: PathLocation
    Definition Classes
    PositionableUnsafeLocatableLocatable
  53. def modifierIssues: ArraySeq[Issue]
    Definition Classes
    ClassBodyDeclaration
  54. val modifiers: ArraySeq[Modifier]
    Definition Classes
    ClassBodyDeclarationApexNode
  55. val name: Name
  56. def nameAndParameterTypes: String
    Definition Classes
    MethodDeclaration
  57. val nature: Nature
    Definition Classes
    ApexMethodDeclarationApexNode
  58. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  59. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  60. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  61. def parameterTypes: String
    Definition Classes
    MethodDeclaration
  62. val parameters: ArraySeq[FormalParameter]
    Definition Classes
    ApexMethodDeclarationParameters
  63. val parseIssues: ArraySeq[Issue]
    Definition Classes
    ClassBodyDeclarationApexNode
  64. def preReValidate(): Unit

    Called before validate() when a type is about to be re-validated to allow for cached state cleaning.

    Called before validate() when a type is about to be re-validated to allow for cached state cleaning.

    Definition Classes
    ReferenceablePreReValidatable
  65. 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
  66. def resetShadows(): Unit
    Definition Classes
    ApexMethodLike
  67. def safeLocation: Option[PathLocation]
    Definition Classes
    UnsafeLocatable
  68. def setDepends(dependencies: SkinnySet[Dependent]): Unit
    Definition Classes
    ClassBodyDeclaration
  69. def setLocation(path: PathLike, startLine: Int, startOffset: Int, endLine: Int, endOffset: Int): Unit
    Definition Classes
    Positionable
  70. def shadows: Set[MethodDeclaration]
    Definition Classes
    ApexMethodLike
  71. lazy val signature: String
  72. def summary: MethodSummary
  73. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  74. val thisTypeId: TypeId
  75. 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
  76. def toString(): String
    Definition Classes
    MethodDeclaration → AnyRef → Any
  77. def typeName: TypeName
  78. def validate(context: BodyDeclarationVerifyContext): Unit
    Definition Classes
    ClassBodyDeclaration
  79. def verify(context: BodyDeclarationVerifyContext): Unit
  80. def visibility: Modifier
    Definition Classes
    MethodDeclaration
  81. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  82. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  83. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  84. def withContext(context: ParserRuleContext): ApexMethodDeclaration.this.type
    Definition Classes
    CST
  85. def withLocation(location: PathLocation): ApexMethodDeclaration.this.type
    Definition Classes
    Positionable

Inherited from ApexMethodLike

Inherited from Referenceable

Inherited from PreReValidatable

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