
org.pitest.highwheel.bytecodeparser.NameUtil Maven / Gradle / Ivy
package org.pitest.highwheel.bytecodeparser;
import org.objectweb.asm.Type;
import org.pitest.highwheel.model.ElementName;
public class NameUtil {
static ElementName getElementNameForType(final org.objectweb.asm.Type type) {
if (type.getSort() == Type.ARRAY) {
return ElementName.fromString(type.getElementType().getClassName());
}
return ElementName.fromString(type.getClassName());
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy