Skip to content

Commit

Permalink
update contributing.md
Browse files Browse the repository at this point in the history
  • Loading branch information
EpicPlayerA10 committed Oct 14, 2024
1 parent 4d86c9b commit 4953c01
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ import uwu.narumi.deobfuscator.api.transformer.Transformer;
public class SomeTransformer extends Transformer {
@Override
protected void transform() throws Exception {
classes().forEach(classWrapper -> classWrapper.methods().forEach(methodNode -> {
scopedClasses().forEach(classWrapper -> classWrapper.methods().forEach(methodNode -> {
// Code here
}));
}
Expand All @@ -110,7 +110,7 @@ import java.util.Arrays;
public class SomeTransformer extends Transformer {
@Override
protected void transform() throws Exception {
classes().forEach(classWrapper -> classWrapper.methods().forEach(methodNode -> {
scopedClasses().forEach(classWrapper -> classWrapper.methods().forEach(methodNode -> {

// Iterate over all LDC instructions in the method
Arrays.stream(methodNode.instructions.toArray())
Expand Down Expand Up @@ -144,7 +144,7 @@ import java.util.Arrays;
public class SomeTransformer extends Transformer {
@Override
protected void transform() throws Exception {
classes().forEach(classWrapper -> classWrapper.methods().forEach(methodNode -> {
scopedClasses().forEach(classWrapper -> classWrapper.methods().forEach(methodNode -> {
MethodContext methodContext = MethodContext.framed(classWrapper, methodNode);

// Find all System.out.println calls and replace the string with "Bye, World!"
Expand Down

0 comments on commit 4953c01

Please sign in to comment.