Class BinaryExpressionMultiTypeDispatcher

java.lang.Object
org.codehaus.groovy.classgen.asm.BinaryExpressionHelper
org.codehaus.groovy.classgen.asm.BinaryExpressionMultiTypeDispatcher
Direct Known Subclasses:
StaticTypesBinaryExpressionMultiTypeDispatcher

public class BinaryExpressionMultiTypeDispatcher extends BinaryExpressionHelper
This class is for internal use only! This class will dispatch to the right type adapters according to the kind of binary expression that is provided.
  • Field Details

    • binExpWriter

      protected BinaryExpressionWriter[] binExpWriter
      Per-type helpers used to emit primitive binary operations.
    • typeMap

      public static final Map<ClassNode,Integer> typeMap
      Maps primitive operand types to helper indexes.
    • typeMapKeyNames

      public static final String[] typeMapKeyNames
      Human-readable names for the indexes used by typeMap.
  • Constructor Details

    • BinaryExpressionMultiTypeDispatcher

      public BinaryExpressionMultiTypeDispatcher(WriterController wc)
      Creates a dispatcher that routes primitive binary expressions to type-specific helpers.
      Parameters:
      wc - the active writer controller
  • Method Details