Reputation: 466
I've been tasked with converting a project, whilst upgrading it, to C# from Java.
However, I'm finding issues with the following classes and their features:
import jdk.internal.org.objectweb.asm.tree.AbstractInsnNode;
import jdk.internal.org.objectweb.asm.tree.ClassNode;
import jdk.internal.org.objectweb.asm.tree.FieldInsnNode;
import jdk.internal.org.objectweb.asm.tree.MethodInsnNode;
import jdk.internal.org.objectweb.asm.tree.MethodNode;
The class I'm working with in Java is attempting to read .jar files and their contents (classes). However, I haven't been able to find any equivalent classes/features in C#, including JavApi.
Is there any possible way I can recreate this in C#? Could the Java docs help me?
Upvotes: 0
Views: 487
Reputation: 1991
You may want to look into using IKVM (http://www.ikvm.net) to use the Java classes, as otherwise you would likely have to recreate ASM's functionality in C# from scratch.
Upvotes: 1