类 SimpleMethodMetadataReadingVisitor
java.lang.Object
cn.taketoday.bytecode.MethodVisitor
cn.taketoday.core.type.classreading.SimpleMethodMetadataReadingVisitor
ASM method visitor that creates
SimpleMethodMetadata.- 从以下版本开始:
- 4.0
- 作者:
- Phillip Webb, Sam Brannen, Harry Yang
-
嵌套类概要
嵌套类 -
字段概要
字段修饰符和类型字段说明private final intprivate ArrayList<MergedAnnotation<?>>private final ClassLoaderprivate final Consumer<SimpleMethodMetadata>private final Stringprivate final Stringprivate final String从类继承的字段 cn.taketoday.bytecode.MethodVisitor
mv -
构造器概要
构造器构造器说明SimpleMethodMetadataReadingVisitor(ClassLoader classLoader, String declaringClassName, int access, String methodName, String descriptor, Consumer<SimpleMethodMetadata> consumer) -
方法概要
修饰符和类型方法说明private ObjectvisitAnnotation(String descriptor, boolean visible) Visits an annotation of this method.voidvisitEnd()Visits the end of the method.从类继承的方法 cn.taketoday.bytecode.MethodVisitor
visitAnnotableParameterCount, visitAnnotationDefault, visitAttribute, visitCode, visitFieldInsn, visitFrame, visitIincInsn, visitInsn, visitInsnAnnotation, visitIntInsn, visitInvokeDynamicInsn, visitJumpInsn, visitLabel, visitLdcInsn, visitLineNumber, visitLocalVariable, visitLocalVariableAnnotation, visitLookupSwitchInsn, visitMaxs, visitMethodInsn, visitMethodInsn, visitMultiANewArrayInsn, visitParameter, visitParameterAnnotation, visitTableSwitchInsn, visitTryCatchAnnotation, visitTryCatchBlock, visitTypeAnnotation, visitTypeInsn, visitVarInsn
-
字段详细资料
-
classLoader
-
declaringClassName
-
access
private final int access -
annotations
-
consumer
-
source
-
methodName
-
descriptor
-
-
构造器详细资料
-
SimpleMethodMetadataReadingVisitor
SimpleMethodMetadataReadingVisitor(@Nullable ClassLoader classLoader, String declaringClassName, int access, String methodName, String descriptor, Consumer<SimpleMethodMetadata> consumer)
-
-
方法详细资料
-
visitAnnotation
从类复制的说明:MethodVisitorVisits an annotation of this method.- 覆盖:
visitAnnotation在类中MethodVisitor- 参数:
descriptor- the class descriptor of the annotation class.visible- true if the annotation is visible at runtime.- 返回:
- a visitor to visit the annotation values, or null if this visitor is not interested in visiting this annotation.
-
visitEnd
public void visitEnd()从类复制的说明:MethodVisitorVisits the end of the method. This method, which is the last one to be called, is used to inform the visitor that all the annotations and attributes of the method have been visited.- 覆盖:
visitEnd在类中MethodVisitor
-
getSource
-