Class ClassReader


  • public class ClassReader
    extends java.lang.Object
    A JVMS ยง4 class file reader.
    • Method Detail

      • read

        @Deprecated
        public static ClassFile read​(byte[] bytes)
        Deprecated.
        Reads the given bytes into an ClassFile.
      • read

        public static ClassFile read​(@Nullable java.lang.String path,
                                     byte[] bytes)
        Reads the given bytes into an ClassFile.
      • readParameterAnnotations

        public void readParameterAnnotations​(java.util.List<com.google.common.collect.ImmutableList.Builder<ClassFile.AnnotationInfo>> annotations,
                                             ConstantPoolReader constantPool)
        Processes a JVMS 4.7.18 RuntimeVisibleParameterAnnotations attribute