Package com.google.turbine.bytecode
Class ClassReader
- java.lang.Object
-
- com.google.turbine.bytecode.ClassReader
-
public class ClassReader extends java.lang.ObjectA JVMS ยง4 class file reader.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static ClassFileread(byte[] bytes)Deprecated.static ClassFileread(@Nullable java.lang.String path, byte[] bytes)Reads the given bytes into anClassFile.voidreadParameterAnnotations(java.util.List<com.google.common.collect.ImmutableList.Builder<ClassFile.AnnotationInfo>> annotations, ConstantPoolReader constantPool)Processes a JVMS 4.7.18 RuntimeVisibleParameterAnnotations attribute
-
-
-
Method Detail
-
read
@Deprecated public static ClassFile read(byte[] bytes)
Deprecated.Reads the given bytes into anClassFile.
-
read
public static ClassFile read(@Nullable java.lang.String path, byte[] bytes)
Reads the given bytes into anClassFile.
-
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
-
-