object BackendReporting
Utilities for error reporting.
Defines some utility methods to make error reporting with Either easier.
- Source
- BackendReporting.scala
- Alphabetic
- By Inheritance
- BackendReporting
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
- sealed trait CalleeInfoWarning extends OptimizerWarning
Used in the CallGraph for nodes where an issue occurred determining the callee information.
- final case class CalleeNotFinal(calleeDeclarationClass: InternalName, name: String, descriptor: String, annotatedInline: Boolean) extends CannotInlineWarning with Product with Serializable
- sealed trait CannotInlineWarning extends OptimizerWarning
- sealed trait ClassInlineInfoWarning extends OptimizerWarning
Used in the InlineInfo of a ClassBType, when some issue occurred obtaining the inline information.
- final case class ClassNotFound(internalName: InternalName, definedInJavaSource: Boolean) extends MissingBytecodeWarning with Product with Serializable
- final case class ClassNotFoundWhenBuildingInlineInfoFromSymbol(missingClass: ClassNotFound) extends ClassInlineInfoWarning with Product with Serializable
- final case class ClassSymbolInfoFailureSI9111(classFullName: String) extends ClassInlineInfoWarning with Product with Serializable
- final case class FieldNotFound(name: String, descriptor: String, ownerInternalName: InternalName, missingClass: Option[ClassNotFound]) extends MissingBytecodeWarning with Product with Serializable
- final case class IllegalAccessCheckFailed(calleeDeclarationClass: InternalName, name: String, descriptor: String, annotatedInline: Boolean, callsiteClass: InternalName, instruction: AbstractInsnNode, cause: OptimizerWarning) extends CannotInlineWarning with Product with Serializable
- final case class IllegalAccessInstructions(calleeDeclarationClass: InternalName, name: String, descriptor: String, annotatedInline: Boolean, callsiteClass: InternalName, instructions: List[AbstractInsnNode]) extends CannotInlineWarning with Product with Serializable
- case class Invalid[A](e: A) extends ControlThrowable with Product with Serializable
- final case class MethodInlineInfoError(declarationClass: InternalName, name: String, descriptor: String, cause: NoClassBTypeInfo) extends CalleeInfoWarning with Product with Serializable
- final case class MethodInlineInfoIncomplete(declarationClass: InternalName, name: String, descriptor: String, cause: ClassInlineInfoWarning) extends CalleeInfoWarning with Product with Serializable
- final case class MethodInlineInfoMissing(declarationClass: InternalName, name: String, descriptor: String, cause: Option[ClassInlineInfoWarning]) extends CalleeInfoWarning with Product with Serializable
- final case class MethodNotFound(name: String, descriptor: String, ownerInternalNameOrArrayDescriptor: InternalName, missingClass: Option[ClassNotFound]) extends MissingBytecodeWarning with Product with Serializable
- final case class MethodWithHandlerCalledOnNonEmptyStack(calleeDeclarationClass: InternalName, name: String, descriptor: String, annotatedInline: Boolean, callsiteClass: InternalName, callsiteName: String, callsiteDesc: String) extends CannotInlineWarning with Product with Serializable
- sealed trait MissingBytecodeWarning extends OptimizerWarning
- sealed trait NoClassBTypeInfo extends OptimizerWarning
- final case class NoClassBTypeInfoClassSymbolInfoFailedSI9111(classFullName: String) extends NoClassBTypeInfo with Product with Serializable
- final case class NoClassBTypeInfoMissingBytecode(cause: MissingBytecodeWarning) extends NoClassBTypeInfo with Product with Serializable
- final case class NoInlineInfoAttribute(internalName: InternalName) extends ClassInlineInfoWarning with Product with Serializable
- sealed trait OptimizerWarning extends AnyRef
- case class ResultingMethodTooLarge(calleeDeclarationClass: InternalName, name: String, descriptor: String, annotatedInline: Boolean, callsiteClass: InternalName, callsiteName: String, callsiteDesc: String) extends CannotInlineWarning with Product with Serializable
- final case class RewriteClosureAccessCheckFailed(pos: Position, cause: OptimizerWarning) extends RewriteClosureApplyToClosureBodyFailed with Product with Serializable
- sealed trait RewriteClosureApplyToClosureBodyFailed extends OptimizerWarning
Used in
rewriteClosureApplyInvocations
when a closure apply callsite cannot be rewritten to the closure body method. - final case class RewriteClosureIllegalAccess(pos: Position, callsiteClass: InternalName) extends RewriteClosureApplyToClosureBodyFailed with Product with Serializable
- implicit final class RightBiasedEither[A, B] extends AnyVal
- final case class StrictfpMismatch(calleeDeclarationClass: InternalName, name: String, descriptor: String, annotatedInline: Boolean, callsiteClass: InternalName, callsiteName: String, callsiteDesc: String) extends CannotInlineWarning with Product with Serializable
- final case class SynchronizedMethod(calleeDeclarationClass: InternalName, name: String, descriptor: String, annotatedInline: Boolean) extends CannotInlineWarning with Product with Serializable
- final case class UnknownScalaInlineInfoVersion(internalName: InternalName, version: Int) extends ClassInlineInfoWarning with Product with Serializable
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
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def assertionError(message: String): Nothing
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- 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 hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def methodSignature(classInternalName: InternalName, method: MethodNode): String
- def methodSignature(classInternalName: InternalName, name: String, desc: String): String
- 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()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- def tryEither[A, B](op: => Either[A, B]): Either[A, B]
See documentation of orThrow above.
- 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 OptimizerWarning
- object UnknownInvokeDynamicInstruction extends OptimizerWarning with Product with Serializable
The Scala compiler and reflection APIs.