All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.yworks.yguard.obf.LineNumberTableMapper Maven / Gradle / Ivy

Go to download

The open-source Java obfuscation tool working with Ant and Gradle by yWorks - the diagramming experts

There is a newer version: 2.10.0
Show newest version
package com.yworks.yguard.obf;

import com.yworks.yguard.obf.classfile.LineNumberTableAttrInfo;

import java.io.PrintWriter;

/**
 */
public interface LineNumberTableMapper {
  /**
   * Callback method that can be used to remap a line number table.
   * @param className the classes name that contains the method
   * @param methodName the name of the method
   * @param methodSignature the signature of the method
   * @param lineNumberTable the table that may be modified by this method
   * @return whether the line number table should be kept
   * @see YGuardRule.TYPE_LINE_NUMBER_MAPPER
   */
  boolean mapLineNumberTable(String className, String methodName, String methodSignature, LineNumberTableAttrInfo lineNumberTable);

  /**
   * Callback method that can be used to log custom properties to the Printwriter.
   * @param pw the PrintWriter to print to.
   */
  void logProperties(PrintWriter pw);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy