KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > yworks > yguard > obf > LineNumberTableMapper


1 package com.yworks.yguard.obf;
2
3 import com.yworks.yguard.obf.classfile.LineNumberTableAttrInfo;
4
5 import java.io.PrintWriter JavaDoc;
6
7 /**
8  */

9 public interface LineNumberTableMapper {
10   /**
11    * Callback method that can be used to remap a line number table.
12    * @param className the classes name that contains the method
13    * @param methodName the name of the method
14    * @param methodSignature the signature of the method
15    * @param lineNumberTable the table that may be modified by this method
16    * @return whether the line number table should be kept
17    * @see YGuardRule.TYPE_LINE_NUMBER_MAPPER
18    */

19   boolean mapLineNumberTable(String JavaDoc className, String JavaDoc methodName, String JavaDoc methodSignature, LineNumberTableAttrInfo lineNumberTable);
20
21   /**
22    * Callback method that can be used to log custom properties to the Printwriter.
23    * @param pw the PrintWriter to print to.
24    */

25   void logProperties(PrintWriter JavaDoc pw);
26 }
27
Popular Tags