object BackendUtils
- Alphabetic
- By Inheritance
- BackendUtils
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
- abstract class GenericSignatureVisitor extends AnyRef
- final case class LambdaMetaFactoryCall(indy: InvokeDynamicInsnNode, samMethodType: Type, implMethod: Handle, instantiatedMethodType: Type) extends Product with Serializable
- abstract class NestedClassesCollector[T] extends GenericSignatureVisitor
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##(): Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def argumentsNullCheckedByCallee(mi: MethodInsnNode): Long
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def classTagNewArrayArg(mi: MethodInsnNode, prodCons: ProdConsAnalyzer): InternalName
- def clearDceDone(method: MethodNode): Unit
- def clearLabelReachable(label: LabelNode): Unit
- def clearMaxsComputed(method: MethodNode): Unit
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def computeMaxLocalsMaxStack(method: MethodNode): Unit
In order to run an Analyzer, the maxLocals / maxStack fields need to be available.
In order to run an Analyzer, the maxLocals / maxStack fields need to be available. The ASM framework only computes these values during bytecode generation.
NOTE 1: as explained in the
analysis
package object, the maxStack value used by the Analyzer may be smaller than the correct maxStack value in the classfile (Analyzers only use a single slot for long / double values). The maxStack computed here are correct for running an analyzer, but not for writing in the classfile. We let the ClassWriter recompute max's.NOTE 2: the maxStack value computed here may be larger than the smallest correct value that would allow running an analyzer, see
InstructionStackEffect.forAsmAnalysis
andInstructionStackEffect.maxStackGrowth
.NOTE 3: the implementation doesn't look at instructions that cannot be reached, it computes the max local / stack size in the reachable code. These max's work just fine for running an Analyzer: its implementation also skips over unreachable code in the same way.
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def getClassOnStaticallyKnownPrimitiveArray(mi: MethodInsnNode, typeAnalyzer: NonLubbingTypeFlowAnalyzer): Type
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def isArrayGetLength(mi: MethodInsnNode): Boolean
- def isArrayGetLengthOnStaticallyKnownArray(mi: MethodInsnNode, typeAnalyzer: NonLubbingTypeFlowAnalyzer): Boolean
- def isClassTagApply(mi: MethodInsnNode): Boolean
- def isDceDone(method: MethodNode): Boolean
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def isLabelReachable(label: LabelNode): Boolean
- def isMaxsComputed(method: MethodNode): Boolean
- def isModuleLoad(insn: AbstractInsnNode, nameMatches: (InternalName) => Boolean): Boolean
- def isRuntimeArrayLoadOrUpdate(insn: AbstractInsnNode): Boolean
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- lazy val primitiveTypes: Map[String, Type]
- def setDceDone(method: MethodNode): Unit
- def setLabelReachable(label: LabelNode): Unit
- def setMaxsComputed(method: MethodNode): Unit
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- object LambdaMetaFactoryCall extends java.io.Serializable
- object handleOrdering extends Ordering[Handle]
The Scala compiler and reflection APIs.