scala.tools.nsc.symtab.classfile

ICodeReader

abstract class ICodeReader extends ClassfileParser

ICode reader from Java bytecode.

Source
ICodeReader.scala
Version

1.0

Linear Supertypes
Known Subclasses
Type Hierarchy Learn more about scaladoc diagrams
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. ICodeReader
  2. ClassfileParser
  3. AnyRef
  4. 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 ICodeReader()

Type Members

  1. class ConstantPool extends AnyRef

    Definition Classes
    ClassfileParser
  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 Global.LazyType with Global.FlagAgnosticCompleter

    Definition Classes
    ClassfileParser
  4. class LinearCode extends AnyRef

  5. class TypeParamsType extends Global.LazyType with Global.FlagAgnosticCompleter

    Definition Classes
    ClassfileParser

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: Global.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[Global.Symbol]

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

    Return the class symbol of the given name.

    Return the class symbol of the given name.

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

    Attributes
    protected
    Definition Classes
    ClassfileParser
  14. var clazz: Global.Symbol

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

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  16. var currentClass: Global.Name

    Attributes
    protected
    Definition Classes
    ClassfileParser
  17. 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
  18. 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
  19. 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
  20. 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
  21. final def eq(arg0: AnyRef): Boolean

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

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

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  24. def forceMangledName(name: Global.Name, module: Boolean): Global.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
  25. 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()
  26. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  27. def getCode(flags: Int): Global.icodes.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.

  28. def getOwner(jflags: Int): Global.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
  29. def getScope(flags: Int): Global.Scope

    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[Global.Name, InnerClassEntry]

    Definition Classes
    ClassfileParser
  33. var instanceCode: Global.icodes.IClass

  34. var instanceScope: Global.Scope

    Attributes
    protected
    Definition Classes
    ClassfileParser
  35. def isBox(m: Global.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: Global.Symbol): Boolean

  42. var maxLocals: Int

  43. var maxStack: Int

  44. var method: Global.icodes.IMethod

  45. def moduleClass: Global.Symbol

    Attributes
    protected
    Definition Classes
    ClassfileParser
  46. final def ne(arg0: AnyRef): Boolean

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

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

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

    Definition Classes
    ClassfileParser
  50. def parseAttribute(): Unit

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

    Definition Classes
    ClassfileParser
  52. def parseByteCode(): Unit

    Parse java bytecode into ICode

  53. def parseClass(): Unit

    Definition Classes
    ICodeReaderClassfileParser
  54. def parseField(): Unit

    Definition Classes
    ICodeReaderClassfileParser
  55. 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
  56. def parseMethod(): Unit

    Definition Classes
    ICodeReaderClassfileParser
  57. var pc: Int

  58. var pool: ConstantPool

    Attributes
    protected
    Definition Classes
    ClassfileParser
  59. def readClass(cls: Global.Symbol): (Global.icodes.IClass, Global.icodes.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.

  60. var sawPrivateConstructor: Boolean

    Definition Classes
    ClassfileParser
  61. def skipAttributes(): Unit

    Definition Classes
    ClassfileParser
  62. def skipMembers(): Unit

    Definition Classes
    ClassfileParser
  63. def skipSuperclasses(): Unit

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

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

    Attributes
    protected
    Definition Classes
    ClassfileParser
  66. var staticCode: Global.icodes.IClass

  67. var staticModule: Global.Symbol

    Attributes
    protected
    Definition Classes
    ClassfileParser
  68. var staticScope: Global.Scope

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

    Definition Classes
    AnyRef
  70. def toString(): String

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

  72. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws()
  75. 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

Shadowed Implict Value Members

  1. val self: Any

    Implicit information
    This member is added by an implicit conversion from ICodeReader 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:
    (iCodeReader: StringAdd).self
    Definition Classes
    StringAdd
  2. val self: Any

    Implicit information
    This member is added by an implicit conversion from ICodeReader 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:
    (iCodeReader: StringFormat).self
    Definition Classes
    StringFormat

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.
    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:
    (iCodeReader: ArrowAssoc[ICodeReader]).x
    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.
    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:
    (iCodeReader: Ensuring[ICodeReader]).x
    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 any2stringadd from ICodeReader to StringAdd

Inherited by implicit conversion any2stringfmt from ICodeReader to StringFormat

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

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

Ungrouped