Package net.bytebuddy.utility
Interface AsmClassReader.ForClassFileApi.JdkClassReader
-
- Enclosing class:
- AsmClassReader.ForClassFileApi
@Proxied("codes.rafael.asmjdkbridge.JdkClassReader") protected static interface AsmClassReader.ForClassFileApi.JdkClassReader
A dispatcher to interact withcodes.rafael.asmjdkbridge.JdkClassReader
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
accept(java.lang.Object classReader, org.objectweb.asm.ClassVisitor classVisitor, int flags)
Accepts a class reader to visit the represented class file.boolean
isInstance(java.lang.Object value)
Checks if the supplied object is an instance ofcodes.rafael.asmjdkbridge.JdkClassReader
.java.lang.Object
make(byte[] binaryRepresentation, org.objectweb.asm.Attribute[] attribute)
Creates an instance ofcodes.rafael.asmjdkbridge.JdkClassReader
.
-
-
-
Method Detail
-
isInstance
@Instance boolean isInstance(java.lang.Object value)
Checks if the supplied object is an instance ofcodes.rafael.asmjdkbridge.JdkClassReader
.- Parameters:
value
- The instance to evaluate.- Returns:
true
if the supplied object is an instance ofcodes.rafael.asmjdkbridge.JdkClassReader
.
-
make
@IsConstructor java.lang.Object make(byte[] binaryRepresentation, org.objectweb.asm.Attribute[] attribute)
Creates an instance ofcodes.rafael.asmjdkbridge.JdkClassReader
.- Parameters:
binaryRepresentation
- The binary representation of a class file to represent through the reader.attribute
- An array of attribute prototypes.- Returns:
- A new instance of
codes.rafael.asmjdkbridge.JdkClassReader
.
-
accept
void accept(java.lang.Object classReader, org.objectweb.asm.ClassVisitor classVisitor, int flags)
Accepts a class reader to visit the represented class file.- Parameters:
classReader
- The class reader that is being visited.classVisitor
- The class visitor to visit the class.flags
- The flags to consider during reading.
-
-