object BytecodeTesting

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

Type Members

  1. implicit final class MortalInstruction extends AnyVal
  2. implicit final class listStringLines[T] extends AnyVal

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. implicit def aliveInstruction(ins: Instruction): (Instruction, Boolean)
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def assertDoesNotInvoke(l: List[Instruction], method: String): Unit
  7. def assertDoesNotInvoke(m: Method, method: String): Unit
  8. def assertHandlerLabelPostions(h: ExceptionHandler, instructions: List[Instruction], startIndex: Int, endIndex: Int, handlerIndex: Int): Unit
  9. def assertInvoke(l: List[Instruction], receiver: String, method: String): Unit
  10. def assertInvoke(m: Method, receiver: String, method: String): Unit
  11. def assertInvokedMethods(l: List[Instruction], expected: List[String]): Unit
  12. def assertInvokedMethods(m: Method, expected: List[String]): Unit
  13. def assertNoIndy(l: List[Instruction]): Unit
  14. def assertNoIndy(m: Method): Unit
  15. def assertNoInvoke(ins: List[Instruction]): Unit
  16. def assertNoInvoke(m: Method): Unit
  17. def assertSameCode(actual: List[Instruction], expected: List[Instruction]): Unit
  18. def assertSameCode(method: Method, expected: List[Instruction]): Unit
  19. def assertSameSummary(actual: List[Instruction], expected: List[Any]): Unit
  20. def assertSameSummary(method: Method, expected: List[Any]): Unit
  21. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  22. def compileClassesSeparately(codes: List[String], extraArgs: String = "", allowMessage: (Info) => Boolean = _ => false, afterEach: (AbstractFile) => Unit = _ => ()): List[ClassNode]
  23. def compileToBytesSeparately(codes: List[String], extraArgs: String = "", allowMessage: (Info) => Boolean = _ => false, afterEach: (AbstractFile) => Unit = _ => ()): List[(String, Array[Byte])]

    Compile multiple Scala files separately into a single output directory.

    Compile multiple Scala files separately into a single output directory.

    Note that a new compiler instance is created for compiling each file because symbols survive across runs. This makes separate compilation slower.

    The output directory is a physical directory, I have not figured out if / how it's possible to add a VirtualDirectory to the classpath of a compiler.

  24. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  25. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  26. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  27. def findClass(cs: List[ClassNode], name: String): ClassNode
  28. def findInstr(method: MethodNode, query: String): AbstractInsnNode

    Instruction that matches query when textified.

    Instruction that matches query when textified. If query starts with a +, the next instruction is returned.

  29. def findInstrs(method: MethodNode, query: String): List[AbstractInsnNode]

    Instructions that match query when textified.

    Instructions that match query when textified. If query starts with a +, the next instruction is returned.

  30. def genMethod(flags: Int = Opcodes.ACC_PUBLIC, name: String = "m", descriptor: String = "()V", genericSignature: String = null, throwsExceptions: Array[String] = null, handlers: List[ExceptionHandler] = Nil, localVars: List[LocalVariable] = Nil)(body: Instruction*): MethodNode
  31. def getAsmMethod(c: ClassNode, name: String): MethodNode
  32. def getAsmMethods(c: ClassNode, name: String): List[MethodNode]
  33. def getAsmMethods(c: ClassNode, p: (String) => Boolean): List[MethodNode]
  34. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  35. def getGeneratedClassfiles(outDir: AbstractFile): List[(String, Array[Byte])]
  36. def getInstructions(c: ClassNode, name: String): List[Instruction]
  37. def getMethod(c: ClassNode, name: String): Method
  38. def getMethods(c: ClassNode, name: String): List[Method]
  39. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  40. val ignoreDeprecations: (Info) => Boolean
  41. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  42. def makeSourceFile(code: String, filename: String): BatchSourceFile
  43. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  44. def newCompiler(defaultArgs: String = "-usejavacp", extraArgs: String = ""): Compiler
  45. def newCompilerWithoutVirtualOutdir(defaultArgs: String = "-usejavacp", extraArgs: String = ""): Compiler
  46. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  47. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  48. def readAsmClasses(classfiles: List[(String, Array[Byte])]): collection.immutable.List[ClassNode]
  49. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  50. def toString(): String
    Definition Classes
    AnyRef → Any
  51. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  52. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  53. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  54. def wrapInClass(method: MethodNode): ClassNode

Inherited from AnyRef

Inherited from Any

Ungrouped