Exemple #1
0
  public void visitMethodTypeConstant(Clazz clazz, MethodTypeConstant methodTypeConstant) {
    if (shouldBeMarkedAsUsed(methodTypeConstant)) {
      markAsUsed(methodTypeConstant);

      markConstant(clazz, methodTypeConstant.u2descriptorIndex);

      // Mark the referenced descriptor classes.
      methodTypeConstant.referencedClassesAccept(this);
    }
  }