org.omp4j.tree

AnonymousClass

case class AnonymousClass(_clb: ClassBodyContext, parent: OMPClass, parser: Java8Parser)(implicit conf: Config, ompFile: OMPFile) extends OMPClass with Nonreflectable with Product with Serializable

The anonymous class representation

Linear Supertypes
Serializable, Serializable, Product, Equals, Nonreflectable, ClassTrait, OMPClass, Findable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. AnonymousClass
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. Nonreflectable
  7. ClassTrait
  8. OMPClass
  9. Findable
  10. AnyRef
  11. Any
Implicitly
  1. by any2stringadd
  2. by any2stringfmt
  3. by any2ArrowAssoc
  4. by any2Ensuring
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new AnonymousClass(_clb: ClassBodyContext, parent: OMPClass, parser: Java8Parser)(implicit conf: Config, ompFile: OMPFile)

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. def +(other: String): String

    Implicit information
    This member is added by an implicit conversion from AnonymousClass to StringAdd performed by method any2stringadd in scala.Predef.
    Definition Classes
    StringAdd
  5. def ->[B](y: B): (AnonymousClass, B)

    Implicit information
    This member is added by an implicit conversion from AnonymousClass to ArrowAssoc[AnonymousClass] performed by method any2ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  6. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  7. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  8. lazy val FQN: String

    Definition Classes
    AnonymousClassNonreflectableClassTraitOMPClass
  9. final lazy val THIS: OMPClass

    Accessing this in traits

    Accessing this in traits

    Definition Classes
    OMPClass
  10. val _clb: ClassBodyContext

  11. lazy val allFields: Set[OMPVariable]

    Set of all fields referable from this class context

    Set of all fields referable from this class context

    Definition Classes
    OMPClass
  12. val anonymousClasses: List[OMPClass]

    List of anonymous classes (first level only)

    List of anonymous classes (first level only)

    Definition Classes
    OMPClass
  13. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  14. lazy val classBody: ClassBodyContext

    Definition Classes
    AnonymousClassClassTraitOMPClass
  15. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  16. lazy val ctx: ClassDeclarationContext

    Main context (may be null if AnonymousClass used)

    Main context (may be null if AnonymousClass used)

    Definition Classes
    OMPClass
  17. lazy val cunit: CompilationUnitContext

    Compilation unit (root of parsetree)

    Compilation unit (root of parsetree)

    Definition Classes
    OMPClass
  18. def ensuring(cond: (AnonymousClass) ⇒ Boolean, msg: ⇒ Any): AnonymousClass

    Implicit information
    This member is added by an implicit conversion from AnonymousClass to Ensuring[AnonymousClass] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  19. def ensuring(cond: (AnonymousClass) ⇒ Boolean): AnonymousClass

    Implicit information
    This member is added by an implicit conversion from AnonymousClass to Ensuring[AnonymousClass] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  20. def ensuring(cond: Boolean, msg: ⇒ Any): AnonymousClass

    Implicit information
    This member is added by an implicit conversion from AnonymousClass to Ensuring[AnonymousClass] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  21. def ensuring(cond: Boolean): AnonymousClass

    Implicit information
    This member is added by an implicit conversion from AnonymousClass to Ensuring[AnonymousClass] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  22. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  23. lazy val fields: Set[OMPVariable]

    Set of declared and inherited fields

    Set of declared and inherited fields

    Definition Classes
    OMPClass
  24. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  25. def findAllFields: Array[OMPVariable]

    Find all fields syntactically (use only for allFields initialization)

    Find all fields syntactically (use only for allFields initialization)

    returns

    Array of OMPVariable

    Definition Classes
    AnonymousClassNonreflectableOMPClass
  26. def findAllFieldsRecursively(clazz: Class[_], firstRun: Boolean): Array[OMPVariable]

    Recursively build array of class fields

    Recursively build array of class fields

    clazz

    fields of this class are returned

    firstRun

    If set to True, private Fields will be included (but not parents ones)

    returns

    Array of Fields

    Attributes
    protected
    Definition Classes
    ClassTrait
  27. def findClass(chunks: Array[String]): OMPClass

    Find class based on (almost) FQN subsequence

    Find class based on (almost) FQN subsequence

    chunks

    array of strings where to seek

    returns

    found class

    Definition Classes
    OMPClassFindable
    Exceptions thrown
    IllegalArgumentException

    if class not found

  28. def findFieldsSyntactically: Array[OMPVariable]

    Apply syntax analysis

    Apply syntax analysis

    Definition Classes
    Nonreflectable
  29. def findInheritedFields(superName: String): Array[OMPVariable]

    Fetch all inherited fields.

    Fetch all inherited fields.

    Firstly by using variable, secondly seeking implemented classes (local, other) and finally via reflection API.

    superName

    superclass name

    returns

    array of fields

    Definition Classes
    Nonreflectable
  30. def formatted(fmtstr: String): String

    Implicit information
    This member is added by an implicit conversion from AnonymousClass to StringFormat performed by method any2stringfmt in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  31. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  32. val innerClasses: List[OMPClass]

    Inner classes of type InnerInLocalClass

    Inner classes of type InnerInLocalClass

    Definition Classes
    NonreflectableClassTrait
  33. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  34. lazy val key: ClassBodyContext

    Definition Classes
    AnonymousClassOMPClass
  35. val localClasses: List[OMPClass]

    List of local classes (first level only)

    List of local classes (first level only)

    Definition Classes
    ClassTrait
  36. lazy val name: String

    Definition Classes
    AnonymousClassClassTraitOMPClass
  37. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  38. final def notify(): Unit

    Definition Classes
    AnyRef
  39. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  40. def packageNamePrefix(pt: ParserRuleContext = ctx): String

    Get package prefix for FQN

    Get package prefix for FQN

    pt

    code context where to seek

    returns

    package prefix

    Definition Classes
    OMPClass
  41. val parent: OMPClass

    Definition Classes
    AnonymousClassClassTrait
  42. val parser: Java8Parser

    Definition Classes
    AnonymousClassClassTrait
  43. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  44. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  45. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  46. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  47. def [B](y: B): (AnonymousClass, B)

    Implicit information
    This member is added by an implicit conversion from AnonymousClass to ArrowAssoc[AnonymousClass] performed by method any2ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Shadowed Implicit Value Members

  1. val self: Any

    Implicit information
    This member is added by an implicit conversion from AnonymousClass to StringAdd performed by method any2stringadd in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (anonymousClass: StringAdd).self
    Definition Classes
    StringAdd
  2. val self: Any

    Implicit information
    This member is added by an implicit conversion from AnonymousClass to StringFormat performed by method any2stringfmt in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (anonymousClass: StringFormat).self
    Definition Classes
    StringFormat

Deprecated Value Members

  1. def x: AnonymousClass

    Implicit information
    This member is added by an implicit conversion from AnonymousClass to ArrowAssoc[AnonymousClass] performed by method any2ArrowAssoc in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (anonymousClass: ArrowAssoc[AnonymousClass]).x
    Definition Classes
    ArrowAssoc
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Use leftOfArrow instead

  2. def x: AnonymousClass

    Implicit information
    This member is added by an implicit conversion from AnonymousClass to Ensuring[AnonymousClass] performed by method any2Ensuring in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (anonymousClass: Ensuring[AnonymousClass]).x
    Definition Classes
    Ensuring
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Use resultOfEnsuring instead

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from Nonreflectable

Inherited from ClassTrait

Inherited from OMPClass

Inherited from Findable

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd from AnonymousClass to StringAdd

Inherited by implicit conversion any2stringfmt from AnonymousClass to StringFormat

Inherited by implicit conversion any2ArrowAssoc from AnonymousClass to ArrowAssoc[AnonymousClass]

Inherited by implicit conversion any2Ensuring from AnonymousClass to Ensuring[AnonymousClass]

Ungrouped