类 ArrayInitializationMatcher


  • public class ArrayInitializationMatcher
    extends java.lang.Object
    This class finds sequences of instructions that correspond to primitive array initializations. Such initializations may be represented more efficiently in other bytecode languages.
    • 方法概要

      所有方法 实例方法 具体方法 
      修饰符和类型 方法 说明
      java.lang.Object array()
      Returns the recent static array initialization.
      int arrayInitializationEnd()
      Returns the last offset of the recent static array initialization.
      int arrayInitializationStart()
      Returns the first offset of the recent static array initialization, i.e. the first initialization instruction after the newarray.
      boolean matchesArrayInitialization​(Clazz clazz, Method method, CodeAttribute codeAttribute, int newArrayOffset, SimpleInstruction newArrayInstruction)
      Returns whether the code fragment starting at the specified newarray instruction is followed by a static array initialization.
      • 从类继承的方法 java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait