public void visitLocalVariableTableAttribute(
     Clazz clazz,
     Method method,
     CodeAttribute codeAttribute,
     LocalVariableTableAttribute localVariableTableAttribute) {
   // Visit the local variables.
   localVariableTableAttribute.localVariablesAccept(clazz, method, codeAttribute, this);
 }
Example #2
0
  public void visitLocalVariableTableAttribute(
      Clazz clazz,
      Method method,
      CodeAttribute codeAttribute,
      LocalVariableTableAttribute localVariableTableAttribute) {
    markAsUsed(localVariableTableAttribute);

    markConstant(clazz, localVariableTableAttribute.u2attributeNameIndex);

    // Mark the constant pool entries referenced by the local variables.
    localVariableTableAttribute.localVariablesAccept(clazz, method, codeAttribute, this);
  }