Skip to content

Commit 550f4ba

Browse files
committed
moved annotated methods
1 parent 580b45a commit 550f4ba

4 files changed

Lines changed: 9 additions & 47 deletions

File tree

client-java/instrumentation/src/main/java/org/evomaster/client/java/instrumentation/AnnotatedLabel.java renamed to client-java/instrumentation/src/main/java/org/evomaster/client/java/instrumentation/dynamosa/AnnotatedLabel.java

Lines changed: 3 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,14 @@
11
/*
2-
* Copyright (C) 2010-2018 Gordon Fraser, Andrea Arcuri and EvoSuite
3-
* contributors
4-
*
5-
* This file is part of EvoSuite.
6-
*
7-
* EvoSuite is free software: you can redistribute it and/or modify it
8-
* under the terms of the GNU Lesser General Public License as published
9-
* by the Free Software Foundation, either version 3.0 of the License, or
10-
* (at your option) any later version.
11-
*
12-
* EvoSuite is distributed in the hope that it will be useful, but
13-
* WITHOUT ANY WARRANTY; without even the implied warranty of
14-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15-
* Lesser Public License for more details.
16-
*
17-
* You should have received a copy of the GNU Lesser General Public
18-
* License along with EvoSuite. If not, see <http://www.gnu.org/licenses/>.
2+
* Adapted from the EvoSuite project (https://github.com/EvoSuite/evosuite)
3+
* and modified for use in EvoMaster's Dynamosa module.
194
*/
20-
21-
package org.evomaster.client.java.instrumentation;
5+
package org.evomaster.client.java.instrumentation.dynamosa;
226

237
import org.objectweb.asm.Label;
248
import org.objectweb.asm.tree.LabelNode;
259

2610
/**
2711
* Annotated labels are used to identify instrumented code
28-
* such that EvoSuite knows how to deal with
29-
*
30-
* @author fraser
3112
*/
3213
public class AnnotatedLabel extends Label {
3314

client-java/instrumentation/src/main/java/org/evomaster/client/java/instrumentation/AnnotatedMethodNode.java renamed to client-java/instrumentation/src/main/java/org/evomaster/client/java/instrumentation/dynamosa/AnnotatedMethodNode.java

Lines changed: 4 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,16 @@
11
/*
2-
* Copyright (C) 2010-2018 Gordon Fraser, Andrea Arcuri and EvoSuite
3-
* contributors
4-
*
5-
* This file is part of EvoSuite.
6-
*
7-
* EvoSuite is free software: you can redistribute it and/or modify it
8-
* under the terms of the GNU Lesser General Public License as published
9-
* by the Free Software Foundation, either version 3.0 of the License, or
10-
* (at your option) any later version.
11-
*
12-
* EvoSuite is distributed in the hope that it will be useful, but
13-
* WITHOUT ANY WARRANTY; without even the implied warranty of
14-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15-
* Lesser Public License for more details.
16-
*
17-
* You should have received a copy of the GNU Lesser General Public
18-
* License along with EvoSuite. If not, see <http://www.gnu.org/licenses/>.
2+
* Adapted from the EvoSuite project (https://github.com/EvoSuite/evosuite)
3+
* and modified for use in EvoMaster's Dynamosa module.
194
*/
20-
21-
package org.evomaster.client.java.instrumentation;
5+
package org.evomaster.client.java.instrumentation.dynamosa;
226

237
import org.objectweb.asm.Label;
248
import org.objectweb.asm.Opcodes;
259
import org.objectweb.asm.tree.LabelNode;
2610
import org.objectweb.asm.tree.MethodNode;
2711

2812
/**
29-
* <p>AnnotatedMethodNode class.</p>
30-
*
31-
* @author fraser
13+
* AnnotatedMethodNode wraps ASM's MethodNode to support Dynamosa-specific metadata.
3214
*/
3315
public class AnnotatedMethodNode extends MethodNode {
3416

client-java/instrumentation/src/main/java/org/evomaster/client/java/instrumentation/dynamosa/graphs/cfg/BytecodeInstructionPool.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
*/
55
package org.evomaster.client.java.instrumentation.dynamosa.graphs.cfg;
66

7+
import org.evomaster.client.java.instrumentation.dynamosa.AnnotatedLabel;
78
import org.evomaster.client.java.instrumentation.dynamosa.graphs.cfg.branch.BranchPool;
8-
import org.evomaster.client.java.instrumentation.AnnotatedLabel;
99
import org.objectweb.asm.Opcodes;
1010
import org.objectweb.asm.tree.*;
1111
import org.evomaster.client.java.utils.SimpleLogger;

client-java/instrumentation/src/main/java/org/evomaster/client/java/instrumentation/dynamosa/visitor/CFGMethodVisitor.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,8 @@
44
*/
55
package org.evomaster.client.java.instrumentation.dynamosa.visitor;
66

7+
import org.evomaster.client.java.instrumentation.dynamosa.AnnotatedMethodNode;
78
import org.evomaster.client.java.instrumentation.dynamosa.graphs.cfg.CFGGenerator;
8-
9-
import org.evomaster.client.java.instrumentation.AnnotatedMethodNode;
109
import org.objectweb.asm.*;
1110
import org.objectweb.asm.tree.MethodNode;
1211
import org.objectweb.asm.tree.analysis.Analyzer;

0 commit comments

Comments
 (0)