Class

scala.tools.nsc.symtab.classfile

ClassfileParser

Related Doc: package classfile

Permalink

abstract class ClassfileParser extends AnyRef

This abstract class implements a class file parser.

Version

1.0

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ClassfileParser
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ClassfileParser()

    Permalink

Type Members

  1. class ConstantPool extends AnyRef

    Permalink

    Constructor of this class should not be called directly, use newConstantPool instead.

    Constructor of this class should not be called directly, use newConstantPool instead.

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

    Permalink

    An entry in the InnerClasses attribute of this class file.

  3. class LazyAliasType extends (symbolTable)#LazyType with (symbolTable)#FlagAgnosticCompleter

    Permalink
  4. abstract type ThisConstantPool <: ConstantPool

    Permalink
    Attributes
    protected
  5. class TypeParamsType extends (symbolTable)#LazyType with (symbolTable)#FlagAgnosticCompleter

    Permalink

Abstract Value Members

  1. abstract def classFileLookup: ClassFileLookup[AbstractFile]

    Permalink

    The way of the class file lookup used by the compiler.

  2. abstract val loaders: SymbolLoaders { val symbolTable: scala.tools.nsc.symtab.classfile.ClassfileParser.<refinement>.type }

    Permalink
  3. abstract def lookupMemberAtTyperPhaseIfPossible(sym: (symbolTable)#Symbol, name: (symbolTable)#Name): (symbolTable)#Symbol

    Permalink

    If typer phase is defined then perform member lookup of a symbol sym at typer phase.

    If typer phase is defined then perform member lookup of a symbol sym at typer phase. This method results from refactoring. The original author of the logic that uses typer phase didn't explain why we need to force infos at that phase specifically. It only mentioned that ClassfileParse can be called late (e.g. at flatten phase) and we make to make sure we handle such situation properly.

    Attributes
    protected
  4. abstract def newConstantPool: ThisConstantPool

    Permalink
    Attributes
    protected
  5. abstract val symbolTable: SymbolTable { def settings: scala.tools.nsc.Settings }

    Permalink

Concrete Value Members

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

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def addEnclosingTParams(clazz: (symbolTable)#Symbol): Unit

    Permalink

    Add type parameters of enclosing classes

  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. var busy: (symbolTable)#Symbol

    Permalink
    Attributes
    protected
  7. def classNameToSymbol(name: (symbolTable)#Name): (symbolTable)#Symbol

    Permalink

    Return the class symbol of the given name.

  8. var classTParams: Map[(symbolTable)#Name, (symbolTable)#Symbol]

    Permalink
    Attributes
    protected
  9. var clazz: (symbolTable)#Symbol

    Permalink
    Attributes
    protected
  10. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @throws( ... )
  11. var currentClass: (symbolTable)#Name

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  14. var file: AbstractFile

    Permalink
    Attributes
    protected
  15. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  16. def getScope(flags: JavaAccFlags): (symbolTable)#Scope

    Permalink
    Attributes
    protected
  17. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  18. var in: AbstractFileReader

    Permalink
    Attributes
    protected
  19. object innerClasses

    Permalink

    Return the class symbol for the given name.

    Return the class symbol for the given name. It looks it up in its outer class. Forces all outer class symbols to be completed.

    If the given name is not an inner class, it returns the symbol found in definitions.

  20. var instanceScope: (symbolTable)#Scope

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

    Permalink
    Definition Classes
    Any
  22. var isScala: Boolean

    Permalink
    Attributes
    protected
  23. var isScalaAnnot: Boolean

    Permalink
    Attributes
    protected
  24. var isScalaRaw: Boolean

    Permalink
    Attributes
    protected
  25. def moduleClass: (symbolTable)#Symbol

    Permalink
    Attributes
    protected
  26. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  27. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  28. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  29. def parse(file: AbstractFile, root: (symbolTable)#Symbol): Unit

    Permalink
  30. def parseAttributes(sym: (symbolTable)#Symbol, symtype: (symbolTable)#Type): Unit

    Permalink
  31. def parseClass(): Unit

    Permalink
  32. def parseField(): Unit

    Permalink
  33. def parseInnerClasses(): Unit

    Permalink

    Parse inner classes.

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

  34. def parseMethod(): Unit

    Permalink
  35. var pool: ThisConstantPool

    Permalink
    Attributes
    protected
  36. final def s1(): Int

    Permalink
    Attributes
    protected
  37. final def s2(): Int

    Permalink
    Attributes
    protected
  38. def skipAttributes(): Unit

    Permalink
  39. def skipMembers(): Unit

    Permalink
  40. def skipSuperclasses(): Unit

    Permalink
  41. def srcfile: Option[AbstractFile]

    Permalink
  42. var srcfile0: Option[AbstractFile]

    Permalink
    Attributes
    protected
  43. var staticModule: (symbolTable)#Symbol

    Permalink
    Attributes
    protected
  44. var staticScope: (symbolTable)#Scope

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

    Permalink
    Definition Classes
    AnyRef
  46. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  47. final def u1(): Int

    Permalink
    Attributes
    protected
  48. final def u2(): Int

    Permalink
    Attributes
    protected
  49. final def u4(): Int

    Permalink
    Attributes
    protected
  50. final def wait(arg0: Long, arg1: Int): Unit

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  52. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @Deprecated @deprecated @throws( classOf[java.lang.Throwable] )
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from AnyRef

Inherited from Any

Ungrouped