类 LocalVariableTableParameterNameDiscoverer.LocalVariableTableVisitor

java.lang.Object
cn.taketoday.bytecode.MethodVisitor
cn.taketoday.core.LocalVariableTableParameterNameDiscoverer.LocalVariableTableVisitor
封闭类:
LocalVariableTableParameterNameDiscoverer

private static class LocalVariableTableParameterNameDiscoverer.LocalVariableTableVisitor extends MethodVisitor
  • 字段详细资料

    • CONSTRUCTOR

      private static final String CONSTRUCTOR
      另请参阅:
    • name

      private final String name
    • args

      private final Type[] args
    • clazz

      private final Class<?> clazz
    • isStatic

      private final boolean isStatic
    • parameterNames

      private final String[] parameterNames
    • executableMap

      private final Map<Executable,String[]> executableMap
    • hasLvtInfo

      private boolean hasLvtInfo
    • lvtSlotIndex

      private final int[] lvtSlotIndex
  • 构造器详细资料

  • 方法详细资料

    • visitLocalVariable

      public void visitLocalVariable(String name, String description, String signature, Label start, Label end, int index)
      从类复制的说明: MethodVisitor
      Visits a local variable declaration.
      覆盖:
      visitLocalVariable 在类中 MethodVisitor
      参数:
      name - the name of a local variable.
      description - the type descriptor of this local variable.
      signature - the type signature of this local variable. May be null if the local variable type does not use generic types.
      start - the first instruction corresponding to the scope of this local variable (inclusive).
      end - the last instruction corresponding to the scope of this local variable (exclusive).
      index - the local variable's index.
    • visitEnd

      public void visitEnd()
      从类复制的说明: MethodVisitor
      Visits the end of the method. This method, which is the last one to be called, is used to inform the visitor that all the annotations and attributes of the method have been visited.
      覆盖:
      visitEnd 在类中 MethodVisitor
    • resolveExecutable

      private Executable resolveExecutable()
    • computeLvtSlotIndices

      private static int[] computeLvtSlotIndices(boolean isStatic, Type[] paramTypes)
    • isWideType

      private static boolean isWideType(Type aType)