public void visitLocalVariableTypeTableAttribute(
     Clazz clazz,
     Method method,
     CodeAttribute codeAttribute,
     LocalVariableTypeTableAttribute localVariableTypeTableAttribute) {
   // Visit the local variable types.
   localVariableTypeTableAttribute.localVariablesAccept(clazz, method, codeAttribute, this);
 }
Example #2
0
  public void visitLocalVariableTypeTableAttribute(
      Clazz clazz,
      Method method,
      CodeAttribute codeAttribute,
      LocalVariableTypeTableAttribute localVariableTypeTableAttribute) {
    markAsUsed(localVariableTypeTableAttribute);

    markConstant(clazz, localVariableTypeTableAttribute.u2attributeNameIndex);

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