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. val _shadowedBy: SkinnyWeakSet[MethodDeclaration]
    Definition Classes
    ApexMethodLike
  5. val _shadows: SkinnyWeakSet[MethodDeclaration]
    Definition Classes
    ApexMethodLike
  6. def addDependencyHolder(dependencyHolder: DependencyHolder): Unit
    Definition Classes
    Dependent
  7. def addLocation(pathLocation: PathLocation): Unit
    Definition Classes
    Referenceable
  8. def addShadow(method: MethodDeclaration): Unit
    Definition Classes
    ApexMethodLike
  9. def areSameGenericTypes(param: TypeName, other: TypeName): Boolean

    Determine if parameter type names are considered the same.

    Determine if parameter type names are considered the same. During method and constructor calls some platform generics are considered equivalent regardless of the type parameters used. Yeah, its a mess of a language.

    Attributes
    protected
    Definition Classes
    Parameters
  10. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  11. val block: Option[Block]
  12. val children: ArraySeq[ApexNode]
    Definition Classes
    ApexMethodDeclarationApexNode
  13. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  14. def collectDependencies(dependsOn: Set[Dependent]): Unit
    Definition Classes
    ClassBodyDeclaration
  15. def collectIssues(issues: ArrayBuffer[Issue]): Unit
    Attributes
    protected
    Definition Classes
    ApexNode
  16. def collectIssues(): ArraySeq[Issue]
    Definition Classes
    ApexNode
  17. def collectMethods(): Set[ApexMethodLike]
    Definition Classes
    ApexMethodLike
  18. def collectReferences(): Set[TargetLocation]

    Returns the detailed reference locations

    Returns the detailed reference locations

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

    Convert dependencies into a summary format

    Convert dependencies into a summary format

    Definition Classes
    DependencyHolder
  21. var depends: Option[SkinnySet[Dependent]]
    Attributes
    protected
    Definition Classes
    ClassBodyDeclaration
  22. val description: String
    Definition Classes
    ClassBodyDeclarationApexNode
  23. def doesNeedReValidation(): Boolean
    Definition Classes
    Referenceable
  24. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  25. def equals(that: Any): Boolean
    Definition Classes
    IdentityEquality → AnyRef → Any
  26. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  27. def findReferences(): Set[TargetLocation]
    Definition Classes
    Referenceable
  28. def fulfillsInterfaceMethodParams(from: TypeDeclaration, implMethod: MethodDeclaration): (Boolean, List[String])

    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. This is more involved than a simple type name comparison as there is some rather shocking equivalence handling in Apex for interfaces.

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

    Is the holder within test code

    Is the holder within test code

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