Class JavaClassfileVersionParser
- java.lang.Object
-
- org.codehaus.plexus.languages.java.version.JavaClassfileVersionParser
-
final class JavaClassfileVersionParser extends java.lang.Object
This class is intented to be package-private and consumed byJavaClassfileVersion
.
-
-
Constructor Summary
Constructors Modifier Constructor Description private
JavaClassfileVersionParser()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static JavaClassfileVersion
of(byte[] bytes)
Reads the bytecode of a Java class file and returns theJavaClassfileVersion
.
-
-
-
Method Detail
-
of
public static JavaClassfileVersion of(byte[] bytes)
Reads the bytecode of a Java class file and returns theJavaClassfileVersion
.- Parameters:
in
-byte[]
of the Java class file- Returns:
- the
JavaClassfileVersion
of the input stream
-
-