dotty.tools.dotc.core.classfile

ClassfileParser

Related Docs: object ClassfileParser | package classfile

class ClassfileParser extends AnyRef

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. ClassfileParser
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ClassfileParser(classfile: AbstractFile, classRoot: ClassDenotation, moduleRoot: ClassDenotation)(ictx: Context)

Type Members

  1. class ConstantPool extends AnyRef

  2. case class InnerClassEntry(external: Int, outer: Int, name: Int, jflags: Int) extends Product with Serializable

    An entry in the InnerClasses attribute of this class file.

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 addAnnotationConstructor(classInfo: Type, tparams: List[TypeSymbol] = Nil)(implicit ctx: Context): Unit

    Add synthetic constructor(s) and potentially also default getters which reflects the fields of the annotation with given classInfo.

    Add synthetic constructor(s) and potentially also default getters which reflects the fields of the annotation with given classInfo. Annotations in Scala are assumed to get all their arguments as constructor parameters. For Java annotations we need to fake it by making up the constructor. Note that default getters have type Nothing. That's OK because we need them only to signal that the corresponding parameter is optional.

  5. def addEnclosingTParams()(implicit ctx: Context): Unit

    Add type parameters of enclosing classes

  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def classNameToSymbol(name: Name)(implicit ctx: Context): Symbol

    Return the class symbol of the given name.

  8. var classTParams: Map[Name, Symbol]

    Attributes
    protected
  9. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. var currentClassName: Name

    Attributes
    protected
  11. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  12. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  13. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  14. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  15. def getOwner(flags: Int): Symbol

    Attributes
    protected
  16. def getScope(flags: Int): MutableScope

    Attributes
    protected
  17. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  18. val in: AbstractFileReader

    Attributes
    protected
  19. object innerClasses extends HashMap[Name, InnerClassEntry]

  20. val instanceScope: MutableScope

    Attributes
    protected
  21. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  22. val memberCompleter: LazyType

  23. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  26. final def objToAny(tp: Type)(implicit ctx: Context): Type

    Map direct references to Object to references to Any

  27. def parseAnnotArg(skip: Boolean = false)(implicit ctx: Context): Option[ast.tpd.Tree]

  28. def parseAnnotation(attrNameIndex: Char, skip: Boolean = false)(implicit ctx: Context): Option[Annotation]

    Parse and return a single annotation.

    Parse and return a single annotation. If it is malformed, return None.

  29. def parseAttributes(sym: Symbol, symtype: Type)(implicit ctx: Context): Type

  30. def parseClass()(implicit ctx: Context): Option[Embedded]

  31. def parseMember(method: Boolean)(implicit ctx: Context): Unit

  32. var pool: ConstantPool

    Attributes
    protected
  33. def run()(implicit ctx: Context): Option[Embedded]

  34. var sawPrivateConstructor: Boolean

  35. def skipAttributes(): Unit

  36. def skipMembers(): Unit

  37. def skipSuperclasses(): Unit

  38. val staticModule: Symbol

    Attributes
    protected
  39. val staticScope: MutableScope

    Attributes
    protected
  40. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  41. def toString(): String

    Definition Classes
    AnyRef → Any
  42. def unpickleOrParseInnerClasses()(implicit ctx: Context): Option[Embedded]

    Parse inner classes.

    Parse inner classes. Expects in.bp to point to the superclass entry. Restores the old bp.

    returns

    true iff classfile is from Scala, so no Java info needs to be read.

  43. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped