Package com.yworks.yguard
Class ObfuscatorTask.MyLineNumberTableMapper
- java.lang.Object
-
- com.yworks.yguard.ObfuscatorTask.MyLineNumberTableMapper
-
- All Implemented Interfaces:
LineNumberTableMapper
- Enclosing class:
- ObfuscatorTask
public static final class ObfuscatorTask.MyLineNumberTableMapper extends java.lang.Object implements LineNumberTableMapper
The type My line number table mapper.
-
-
Constructor Summary
Constructors Constructor Description MyLineNumberTableMapper(long salt)Instantiates a new My line number table mapper.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidlogProperties(java.io.PrintWriter pw)Callback method that can be used to log custom properties to the Printwriter.booleanmapLineNumberTable(java.lang.String className, java.lang.String methodName, java.lang.String methodSignature, LineNumberTableAttrInfo lineNumberTable)Callback method that can be used to remap a line number table.
-
-
-
Method Detail
-
mapLineNumberTable
public boolean mapLineNumberTable(java.lang.String className, java.lang.String methodName, java.lang.String methodSignature, LineNumberTableAttrInfo lineNumberTable)Description copied from interface:LineNumberTableMapperCallback method that can be used to remap a line number table.- Specified by:
mapLineNumberTablein interfaceLineNumberTableMapper- Parameters:
className- the classes name that contains the methodmethodName- the name of the methodmethodSignature- the signature of the methodlineNumberTable- the table that may be modified by this method- Returns:
- whether the line number table should be kept
- See Also:
com.yworks.yguard.obf.YGuardRule#TYPE_LINE_NUMBER_MAPPERcom.yworks.yguard.obf.YGuardRule#TYPE_LINE_NUMBER_MAPPER
-
logProperties
public void logProperties(java.io.PrintWriter pw)
Description copied from interface:LineNumberTableMapperCallback method that can be used to log custom properties to the Printwriter.- Specified by:
logPropertiesin interfaceLineNumberTableMapper- Parameters:
pw- the PrintWriter to print to.
-
-