scala.tools.nsc.symtab.classfile

ICodeReader

abstract class ICodeReader extends ClassfileParser

ICode reader from Java bytecode.

Source
ICodeReader.scala
Version

1.0

Linear Supertypes
ClassfileParser, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. ICodeReader
  2. ClassfileParser
  3. AnyRef
  4. Any
Implicitly
  1. by any2stringfmt
  2. by any2stringadd
  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 ICodeReader()

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.

  3. class LazyAliasType extends LazyType

  4. class LinearCode extends AnyRef

  5. class TypeParamsType extends LazyType

Abstract Value Members

  1. abstract val global: Global

    Definition Classes
    ICodeReaderClassfileParser

Concrete 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 ICodeReader to StringAdd performed by method any2stringadd in scala.Predef.
    Definition Classes
    StringAdd
  5. def ->[B](y: B): (ICodeReader, B)

    Implicit information
    This member is added by an implicit conversion from ICodeReader to ArrowAssoc[ICodeReader] 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. val JVM: reflect.internal.ClassfileConstants.type

  9. def addEnclosingTParams(clazz: Symbol): Unit

    Add type parameters of enclosing classes

    Add type parameters of enclosing classes

    Definition Classes
    ClassfileParser
  10. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  11. var busy: Option[Symbol]

    Attributes
    protected
    Definition Classes
    ClassfileParser
  12. def classNameToSymbol(name: Name): Symbol

    Return the class symbol of the given name.

    Return the class symbol of the given name.

    Definition Classes
    ICodeReaderClassfileParser
  13. var classTParams: Map[Name, Symbol]

    Attributes
    protected
    Definition Classes
    ClassfileParser
  14. var clazz: Symbol

    Attributes
    protected
    Definition Classes
    ClassfileParser
  15. def clone(): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  16. def ensuring(cond: (ICodeReader) ⇒ Boolean, msg: ⇒ Any): ICodeReader

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

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

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

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

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

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

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  23. def forceMangledName(name: Name, module: Boolean): Symbol

    Try to force the chain of enclosing classes for the given name.

    Try to force the chain of enclosing classes for the given name. Otherwise flatten would not lift classes that were not referenced in the source code.

    Definition Classes
    ClassfileParser
  24. def formatted(fmtstr: String): String

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

    Definition Classes
    AnyRef → Any
  26. def getCode(flags: Int): IClass

    Return the icode class that should include members with the given flags.

    Return the icode class that should include members with the given flags. There are two possible classes, the static part and the instance part.

  27. def getOwner(jflags: Int): Symbol

    If we're parsing a scala module, the owner of members is always the module symbol.

    If we're parsing a scala module, the owner of members is always the module symbol.

    Definition Classes
    ICodeReaderClassfileParser
  28. def getScope(flags: Int): Scope

    Attributes
    protected
    Definition Classes
    ClassfileParser
  29. var hasMeta: Boolean

    Attributes
    protected
    Definition Classes
    ClassfileParser
  30. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  31. var in: AbstractFileReader

    Attributes
    protected
    Definition Classes
    ClassfileParser
  32. object innerClasses extends HashMap[Name, InnerClassEntry]

  33. var instanceCode: IClass

  34. var instanceDefs: Scope

    Attributes
    protected
    Definition Classes
    ClassfileParser
  35. def isBox(m: Symbol): Boolean

    Note: these methods are different from the methods of the same name found in Definitions.

    Note: these methods are different from the methods of the same name found in Definitions. These test whether a symbol represents one of the boxTo/unboxTo methods found in BoxesRunTime. The others test whether a symbol represents a synthetic method from one of the fake companion classes of the primitive types, such as Int.box(5).

  36. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  37. var isScala: Boolean

    Attributes
    protected
    Definition Classes
    ClassfileParser
  38. var isScalaAnnot: Boolean

    Attributes
    protected
    Definition Classes
    ClassfileParser
  39. var isScalaModule: Boolean

  40. var isScalaRaw: Boolean

    Attributes
    protected
    Definition Classes
    ClassfileParser
  41. def isUnbox(m: Symbol): Boolean

  42. var maxLocals: Int

  43. var maxStack: Int

  44. var method: IMethod

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

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

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

    Definition Classes
    AnyRef
  48. def parse(file: AbstractFile, root: Symbol): Unit

    Definition Classes
    ClassfileParser
  49. def parseAttribute(): Unit

  50. def parseAttributes(sym: Symbol, symtype: Type): Unit

    Definition Classes
    ClassfileParser
  51. def parseByteCode(): Unit

    Parse java bytecode into ICode

  52. def parseClass(): Unit

    Definition Classes
    ICodeReaderClassfileParser
  53. def parseField(): Unit

    Definition Classes
    ICodeReaderClassfileParser
  54. def parseInnerClasses(): Unit

    Parse inner classes.

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

    Definition Classes
    ClassfileParser
  55. def parseMethod(): Unit

    Definition Classes
    ICodeReaderClassfileParser
  56. var pc: Int

  57. var pool: ConstantPool

    Attributes
    protected
    Definition Classes
    ClassfileParser
  58. def readClass(cls: Symbol): (IClass, IClass)

    Read back bytecode for the given class symbol.

    Read back bytecode for the given class symbol. It returns two IClass objects, one for static members and one for non-static members.

  59. var sawPrivateConstructor: Boolean

    Definition Classes
    ClassfileParser
  60. val self: Any

    Implicit information
    This member is added by an implicit conversion from ICodeReader to StringFormat performed by method any2stringfmt in scala.Predef.
    Definition Classes
    StringFormat
  61. val self: Any

    Implicit information
    This member is added by an implicit conversion from ICodeReader to StringAdd performed by method any2stringadd in scala.Predef.
    Definition Classes
    StringAdd
  62. def skipAttributes(): Unit

    Definition Classes
    ClassfileParser
  63. def skipMembers(): Unit

    Definition Classes
    ClassfileParser
  64. def skipSuperclasses(): Unit

    Definition Classes
    ClassfileParser
  65. def srcfile: Option[AbstractFile]

    Definition Classes
    ClassfileParser
  66. var srcfile0: Option[AbstractFile]

    Attributes
    protected
    Definition Classes
    ClassfileParser
  67. var staticCode: IClass

  68. var staticDefs: Scope

    Attributes
    protected
    Definition Classes
    ClassfileParser
  69. var staticModule: Symbol

    Attributes
    protected
    Definition Classes
    ClassfileParser
  70. def statics: Symbol

    Attributes
    protected
    Definition Classes
    ClassfileParser
  71. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  72. def toString(): String

    Definition Classes
    AnyRef → Any
  73. def toUnsignedByte(b: Byte): Int

  74. final def wait(): Unit

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

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

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

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

Deprecated Value Members

  1. def x: ICodeReader

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

    (Since version 2.10.0) Use leftOfArrow instead

  2. def x: ICodeReader

    Implicit information
    This member is added by an implicit conversion from ICodeReader to Ensuring[ICodeReader] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Use resultOfEnsuring instead

Inherited from ClassfileParser

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringfmt from ICodeReader to StringFormat

Inherited by implicit conversion any2stringadd from ICodeReader to StringAdd

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

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