Class AsmUtil
- java.lang.Object
-
- com.jetbrains.plugin.structure.classes.utils.AsmUtil
-
public class AsmUtil extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static intASM_API_LEVEL
-
Constructor Summary
Constructors Constructor Description AsmUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static @NotNull org.objectweb.asm.tree.ClassNodereadClassFromFile(@NotNull java.lang.String className, @NotNull java.nio.file.Path classFile)static @NotNull org.objectweb.asm.tree.ClassNodereadClassFromFile(@NotNull java.lang.String className, @NotNull java.nio.file.Path classFile, boolean fully)static @NotNull java.lang.StringreadClassName(@NotNull java.nio.file.Path classFile)static @NotNull org.objectweb.asm.tree.ClassNodereadClassNode(@NotNull java.lang.String className, @NotNull java.io.InputStream inputStream)static @NotNull org.objectweb.asm.tree.ClassNodereadClassNode(@NotNull java.lang.String className, @NotNull java.io.InputStream inputStream, boolean fully)
-
-
-
Field Detail
-
ASM_API_LEVEL
public static final int ASM_API_LEVEL
- See Also:
- Constant Field Values
-
-
Method Detail
-
readClassNode
@NotNull public static @NotNull org.objectweb.asm.tree.ClassNode readClassNode(@NotNull @NotNull java.lang.String className, @NotNull @NotNull java.io.InputStream inputStream, boolean fully) throws com.jetbrains.plugin.structure.classes.resolvers.InvalidClassFileException, java.io.IOException- Throws:
com.jetbrains.plugin.structure.classes.resolvers.InvalidClassFileExceptionjava.io.IOException
-
readClassNode
@NotNull public static @NotNull org.objectweb.asm.tree.ClassNode readClassNode(@NotNull @NotNull java.lang.String className, @NotNull @NotNull java.io.InputStream inputStream) throws com.jetbrains.plugin.structure.classes.resolvers.InvalidClassFileException, java.io.IOException- Throws:
com.jetbrains.plugin.structure.classes.resolvers.InvalidClassFileExceptionjava.io.IOException
-
readClassName
@NotNull public static @NotNull java.lang.String readClassName(@NotNull @NotNull java.nio.file.Path classFile) throws com.jetbrains.plugin.structure.classes.resolvers.InvalidClassFileException, java.io.IOException- Throws:
com.jetbrains.plugin.structure.classes.resolvers.InvalidClassFileExceptionjava.io.IOException
-
readClassFromFile
@NotNull public static @NotNull org.objectweb.asm.tree.ClassNode readClassFromFile(@NotNull @NotNull java.lang.String className, @NotNull @NotNull java.nio.file.Path classFile, boolean fully) throws java.io.IOException, com.jetbrains.plugin.structure.classes.resolvers.InvalidClassFileException- Throws:
java.io.IOExceptioncom.jetbrains.plugin.structure.classes.resolvers.InvalidClassFileException
-
readClassFromFile
@NotNull public static @NotNull org.objectweb.asm.tree.ClassNode readClassFromFile(@NotNull @NotNull java.lang.String className, @NotNull @NotNull java.nio.file.Path classFile) throws java.io.IOException, com.jetbrains.plugin.structure.classes.resolvers.InvalidClassFileException- Throws:
java.io.IOExceptioncom.jetbrains.plugin.structure.classes.resolvers.InvalidClassFileException
-
-