Packages

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

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

Instance Constructors

  1. new EnumDeclaration(_source: Source, _module: Module, _typeContext: RelativeTypeContext, _typeName: TypeName, _outerTypeName: Option[TypeName], _id: Id, _modifiers: ModifierResults, _inTest: Boolean, _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 _inTest: Boolean
  7. val _modifiers: ModifierResults
  8. val _module: Module
  9. val _outerTypeName: Option[TypeName]
  10. val _source: Source
  11. val _typeContext: RelativeTypeContext
  12. val _typeName: TypeName
  13. def addDependencyHolder(dependencyHolder: DependencyHolder): Unit
    Definition Classes
    Dependent
  14. 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
  15. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  16. lazy val blocks: ArraySeq[ApexInitializerBlock]
    Definition Classes
    FullDeclarationTypeDeclaration
  17. val bodyDeclarations: ArraySeq[ClassBodyDeclaration]
    Definition Classes
    FullDeclaration
  18. def bombScore(total: Int): (Int, Int, Double)
    Definition Classes
    ApexClassDeclaration
  19. val children: ArraySeq[ApexNode]
    Definition Classes
    FullDeclarationApexNode
  20. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  21. def collectDependencies(dependsOn: Set[Dependent]): Unit
  22. def collectInterfaces(found: Set[TypeDeclaration], visited: Set[TypeDeclaration] = mutable.Set()): Unit
    Definition Classes
    TypeDeclaration
  23. def collectIssues(issues: ArrayBuffer[Issue]): Unit
    Attributes
    protected
    Definition Classes
    ApexNode
  24. def collectIssues(): ArraySeq[Issue]
    Definition Classes
    ApexNode
  25. def constructorMap: ConstructorMap
    Definition Classes
    ApexClassDeclaration
  26. def constructors: ArraySeq[ConstructorDeclaration]
  27. 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
  28. def deepHash: Int

    Obtain a source hash for this class and all it's ancestors

    Obtain a source hash for this class and all it's ancestors

    Definition Classes
    ApexClassDeclaration
  29. 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
  30. def dependencySummary(): Array[DependentSummary]

    Convert dependencies into a summary format

    Convert dependencies into a summary format

    Definition Classes
    DependencyHolder
  31. var depends: Option[SkinnySet[Dependent]]
    Attributes
    protected
    Definition Classes
    ClassBodyDeclaration
  32. val description: String
    Definition Classes
    ClassBodyDeclarationApexNode
  33. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  34. def equals(that: Any): Boolean
    Definition Classes
    IdentityEquality → AnyRef → Any
  35. def extendsOrImplements(typeName: TypeName): Boolean
    Definition Classes
    TypeDeclaration
  36. lazy val fields: ArraySeq[FieldDeclaration]
  37. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  38. def findConstructor(params: ArraySeq[TypeName], verifyContext: VerifyContext): Either[String, ConstructorDeclaration]
  39. def findDeclarationFromSourceReference(searchTerm: String, location: Location): Option[ApexDeclaration]

    Locate an ApexDeclaration for the passed typeName that was extracted from location.

    Locate an ApexDeclaration for the passed typeName that was extracted from location.

    Definition Classes
    FullDeclarationApexFullDeclaration
  40. def findField(name: Name, exclude: HashSet[TypeDeclaration] = new mutable.HashSet()): Option[FieldDeclaration]
    Attributes
    protected
    Definition Classes
    TypeDeclaration
  41. def findField(name: Name, staticContext: Option[Boolean]): Option[FieldDeclaration]
  42. def findLocalType(localName: TypeName): Option[TypeDeclaration]
    Definition Classes
    TypeDeclaration
  43. def findMethod(name: Name, params: ArraySeq[TypeName], staticContext: Option[Boolean], verifyContext: VerifyContext): Either[String, MethodDeclaration]
  44. def findNestedType(name: Name): Option[TypeDeclaration]
  45. 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
  46. 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
  47. def getBodyDeclarationFromLocation(line: Int, offset: Int): Option[(FullDeclaration, ClassBodyDeclaration)]
    Definition Classes
    FullDeclaration
  48. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  49. def getDependencyHolders: Set[DependencyHolder]
    Definition Classes
    Dependent
  50. def getTypeDependencyHolders: SkinnySet[TypeId]

    Get current dependency holders

    Get current dependency holders

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

    Get a validation result map for the body declaration at the specified location.

    Get a validation result map for the body declaration at the specified location.

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

    Override to resolve conflict, TypeDeclaration & DependencyHolder both default false

    Override to resolve conflict, TypeDeclaration & DependencyHolder both default false

    Definition Classes
    FullDeclarationApexClassDeclarationTypeDeclarationDependencyHolder
  60. def interfaceDeclarations: ArraySeq[TypeDeclaration]
  61. val interfaces: ArraySeq[TypeName]
    Definition Classes
    FullDeclarationTypeDeclaration
  62. lazy val isAbstract: Boolean
    Definition Classes
    TypeDeclaration
  63. lazy val isComplete: Boolean
  64. def isCustomException: Boolean
  65. lazy val isEntryPoint: Boolean
  66. lazy val isExtensible: Boolean
    Definition Classes
    TypeDeclaration
  67. lazy val isExternallyVisible: Boolean
    Definition Classes
    TypeDeclaration
  68. lazy val isFieldConstructed: Boolean
    Definition Classes
    TypeDeclaration
  69. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  70. lazy val isPageController: Boolean
    Definition Classes
    ApexClassDeclaration
  71. lazy val isSObject: Boolean
    Definition Classes
    TypeDeclaration
  72. lazy val isVirtual: Boolean
    Definition Classes
    TypeDeclaration
  73. lazy val localConstructors: ArraySeq[ApexConstructorDeclaration]
  74. lazy val localFields: ArraySeq[ApexFieldLike]
  75. def localIssues: Seq[Issue]
    Definition Classes
    ApexNode
  76. lazy val localMethods: ArraySeq[ApexMethodDeclaration]
  77. def location: PathLocation
    Definition Classes
    PositionableUnsafeLocatableLocatable
  78. def methodMap: MethodMap
    Definition Classes
    ApexClassDeclaration
  79. def methods: ArraySeq[MethodDeclaration]
  80. def modifierIssues: ArraySeq[Issue]
    Definition Classes
    ClassBodyDeclaration
  81. val modifiers: ArraySeq[Modifier]
    Definition Classes
    ClassBodyDeclarationApexNode
  82. 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
  83. val moduleDeclaration: Option[Module]
    Definition Classes
    FullDeclarationTypeDeclaration
  84. val name: Name
    Definition Classes
    FullDeclarationTypeDeclarationApexNode
  85. lazy val namespace: Option[Name]
    Definition Classes
    TypeDeclaration
  86. val nature: Nature
  87. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  88. def nestedTypes: ArraySeq[FullDeclaration]
  89. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  90. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  91. def outerTypeDeclaration: Option[TypeDeclaration]
    Definition Classes
    TypeDeclaration
  92. lazy val outerTypeId: TypeId

    TypeId for outer type (might be self)

    TypeId for outer type (might be self)

    Definition Classes
    DependentType
  93. val outerTypeName: Option[TypeName]
    Definition Classes
    FullDeclarationTypeDeclaration
  94. def outermostTypeDeclaration: TypeDeclaration
    Definition Classes
    TypeDeclaration
  95. val parseIssues: ArraySeq[Issue]
    Definition Classes
    ClassBodyDeclarationApexNode
  96. def paths: ArraySeq[PathLike]
    Definition Classes
    FullDeclarationTypeDeclaration
  97. 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
    FullDeclarationPreReValidatable
  98. def productElementNames: Iterator[String]
    Definition Classes
    Product
  99. 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
  100. 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
  101. def resetConstructorMapIfInvalid(): Unit
    Attributes
    protected
    Definition Classes
    ApexClassDeclaration
  102. def resetMethodMapIfInvalid(): Unit
    Attributes
    protected
    Definition Classes
    ApexClassDeclaration
  103. def safeLocation: Option[PathLocation]
    Definition Classes
    UnsafeLocatable
  104. def setDepends(dependencies: SkinnySet[Dependent]): Unit
    Definition Classes
    ClassBodyDeclaration
  105. def setLocation(path: PathLike, startLine: Int, startOffset: Int, endLine: Int, endOffset: Int): Unit
    Definition Classes
    Positionable
  106. 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
  107. lazy val signature: String
    Definition Classes
    ClassBodyDeclarationApexNode
  108. val source: Source
    Definition Classes
    FullDeclaration
  109. val sourceHash: Int
    Definition Classes
    FullDeclarationApexDeclaration
  110. def summary: TypeSummary
    Definition Classes
    FullDeclarationApexDeclaration
  111. val superClass: Option[TypeName]
    Definition Classes
    FullDeclarationTypeDeclaration
  112. def superClassDeclaration: Option[TypeDeclaration]
  113. def superTypes(): List[TypeName]
    Definition Classes
    TypeDeclaration
  114. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  115. 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
  116. def toString(): String
    Definition Classes
    ApexClassDeclaration → AnyRef → Any
  117. val typeContext: RelativeTypeContext
    Definition Classes
    FullDeclaration
  118. lazy val typeId: TypeId

    TypeId for this type

    TypeId for this type

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

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from FullDeclaration

Inherited from ApexFullDeclaration

Inherited from ApexClassDeclaration

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