Package org.openjdk.jmh.generators.asm
Class AnnotationInvocationHandler
java.lang.Object
org.objectweb.asm.AnnotationVisitor
org.openjdk.jmh.generators.asm.AnnotationInvocationHandler
- All Implemented Interfaces:
InvocationHandler
class AnnotationInvocationHandler
extends org.objectweb.asm.AnnotationVisitor
implements InvocationHandler
-
Field Summary
FieldsFields inherited from class org.objectweb.asm.AnnotationVisitor
api, av
-
Constructor Summary
ConstructorsConstructorDescriptionAnnotationInvocationHandler
(String className, org.objectweb.asm.AnnotationVisitor annotationVisitor) -
Method Summary
Modifier and TypeMethodDescriptionprivate AnnotationInvocationHandler
private boolean
equalsImpl
(Object arg) private int
private Object
private Object
peelSingle
(Collection<Object> vs) private String
void
org.objectweb.asm.AnnotationVisitor
visitArray
(String name) void
Methods inherited from class org.objectweb.asm.AnnotationVisitor
getDelegate, visitAnnotation, visitEnd
-
Field Details
-
className
-
values
-
-
Constructor Details
-
AnnotationInvocationHandler
public AnnotationInvocationHandler(String className, org.objectweb.asm.AnnotationVisitor annotationVisitor)
-
-
Method Details
-
invoke
- Specified by:
invoke
in interfaceInvocationHandler
- Throws:
Throwable
-
peelSingle
-
toStringImpl
-
parseEnum
- Throws:
Exception
-
hashcodeImpl
private int hashcodeImpl() -
equalsImpl
-
asOneOfUs
-
visit
- Overrides:
visit
in classorg.objectweb.asm.AnnotationVisitor
-
visitEnum
- Overrides:
visitEnum
in classorg.objectweb.asm.AnnotationVisitor
-
visitArray
- Overrides:
visitArray
in classorg.objectweb.asm.AnnotationVisitor
-