|
List< String > | toLines (AbstractInsnNode[] array) |
|
List< String > | toLines (AbstractInsnNode node) |
|
◆ toLines() [1/2]
List< String > ppt4j.analysis.bytecode.graph.InsnText.toLines |
( |
AbstractInsnNode | node | ) |
|
Converts the given AbstractInsnNode into a list of strings representing the lines of code. The method uses a TraceMethodVisitor to visit the node and extract the text. Each line is trimmed and checked against a PRINT_LENGTH_LIMIT, truncating it if necessary. The final list of lines is returned.
- Parameters
-
node | the AbstractInsnNode to convert to lines |
- Returns
- a list of strings representing the lines of code extracted from the node
◆ toLines() [2/2]
List< String > ppt4j.analysis.bytecode.graph.InsnText.toLines |
( |
AbstractInsnNode[] | array | ) |
|
Converts an array of AbstractInsnNode objects into a list of strings representing each node.
- Parameters
-
array | the array of AbstractInsnNode objects to convert |
- Returns
- a list of strings representing each AbstractInsnNode in the input array
The documentation for this class was generated from the following file:
- framework/src/main/java/ppt4j/analysis/bytecode/graph/InsnText.java