Package org.grails.asm
Class MethodMetadataReadingVisitor
java.lang.Object
org.springframework.asm.MethodVisitor
org.grails.asm.MethodMetadataReadingVisitor
- All Implemented Interfaces:
org.springframework.core.type.AnnotatedTypeMetadata,org.springframework.core.type.MethodMetadata
@Deprecated
public class MethodMetadataReadingVisitor
extends org.springframework.asm.MethodVisitor
implements org.springframework.core.type.MethodMetadata
Deprecated.
As of Spring Framework 5.2, this class and related classes in this
package have been replaced by SimpleAnnotationMetadataReadingVisitor
and related classes for internal use within the framework.
ASM method visitor which looks for the annotations defined on a method,
exposing them through the
MethodMetadata
interface.
Note: This class was ported to Grails 7 from Spring Framework 5.3 as it was removed in Spring 6 without a public replacement.
- Since:
- 3.0
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final intDeprecated.protected final org.springframework.util.LinkedMultiValueMap<String,org.springframework.core.annotation.AnnotationAttributes> Deprecated.protected final ClassLoaderDeprecated.protected final StringDeprecated.Deprecated.protected final Set<org.springframework.core.type.MethodMetadata>Deprecated.protected final StringDeprecated.protected final StringDeprecated.Fields inherited from class org.springframework.asm.MethodVisitor
api, mv -
Constructor Summary
ConstructorsConstructorDescriptionMethodMetadataReadingVisitor(String methodName, int access, String declaringClassName, String returnTypeName, ClassLoader classLoader, Set<org.springframework.core.type.MethodMetadata> methodMetadataSet) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptiongetAllAnnotationAttributes(String annotationName, boolean classValuesAsString) Deprecated.org.springframework.core.annotation.AnnotationAttributesgetAnnotationAttributes(String annotationName, boolean classValuesAsString) Deprecated.org.springframework.core.annotation.MergedAnnotationsDeprecated.Deprecated.Deprecated.Deprecated.booleanDeprecated.booleanisAnnotated(String annotationName) Deprecated.booleanisFinal()Deprecated.booleanDeprecated.booleanisStatic()Deprecated.org.springframework.asm.AnnotationVisitorvisitAnnotation(String desc, boolean visible) Deprecated.Methods inherited from class org.springframework.asm.MethodVisitor
getDelegate, visitAnnotableParameterCount, visitAnnotationDefault, visitAttribute, visitCode, visitEnd, 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, visitVarInsnMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.core.type.AnnotatedTypeMetadata
getAllAnnotationAttributes, getAnnotationAttributes, getMergedRepeatableAnnotationAttributes, getMergedRepeatableAnnotationAttributes, getMergedRepeatableAnnotationAttributes
-
Field Details
-
methodName
Deprecated. -
access
protected final int accessDeprecated. -
declaringClassName
Deprecated. -
returnTypeName
Deprecated. -
classLoader
Deprecated. -
methodMetadataSet
Deprecated. -
metaAnnotationMap
Deprecated. -
attributesMap
protected final org.springframework.util.LinkedMultiValueMap<String,org.springframework.core.annotation.AnnotationAttributes> attributesMapDeprecated.
-
-
Constructor Details
-
MethodMetadataReadingVisitor
public MethodMetadataReadingVisitor(String methodName, int access, String declaringClassName, String returnTypeName, @Nullable ClassLoader classLoader, Set<org.springframework.core.type.MethodMetadata> methodMetadataSet) Deprecated.
-
-
Method Details
-
getAnnotations
public org.springframework.core.annotation.MergedAnnotations getAnnotations()Deprecated.- Specified by:
getAnnotationsin interfaceorg.springframework.core.type.AnnotatedTypeMetadata
-
visitAnnotation
@Nullable public org.springframework.asm.AnnotationVisitor visitAnnotation(String desc, boolean visible) Deprecated.- Overrides:
visitAnnotationin classorg.springframework.asm.MethodVisitor
-
getMethodName
Deprecated.- Specified by:
getMethodNamein interfaceorg.springframework.core.type.MethodMetadata
-
isAbstract
public boolean isAbstract()Deprecated.- Specified by:
isAbstractin interfaceorg.springframework.core.type.MethodMetadata
-
isStatic
public boolean isStatic()Deprecated.- Specified by:
isStaticin interfaceorg.springframework.core.type.MethodMetadata
-
isFinal
public boolean isFinal()Deprecated.- Specified by:
isFinalin interfaceorg.springframework.core.type.MethodMetadata
-
isOverridable
public boolean isOverridable()Deprecated.- Specified by:
isOverridablein interfaceorg.springframework.core.type.MethodMetadata
-
isAnnotated
Deprecated.- Specified by:
isAnnotatedin interfaceorg.springframework.core.type.AnnotatedTypeMetadata
-
getAnnotationAttributes
@Nullable public org.springframework.core.annotation.AnnotationAttributes getAnnotationAttributes(String annotationName, boolean classValuesAsString) Deprecated.- Specified by:
getAnnotationAttributesin interfaceorg.springframework.core.type.AnnotatedTypeMetadata
-
getAllAnnotationAttributes
@Nullable public org.springframework.util.MultiValueMap<String,Object> getAllAnnotationAttributes(String annotationName, boolean classValuesAsString) Deprecated.- Specified by:
getAllAnnotationAttributesin interfaceorg.springframework.core.type.AnnotatedTypeMetadata
-
getDeclaringClassName
Deprecated.- Specified by:
getDeclaringClassNamein interfaceorg.springframework.core.type.MethodMetadata
-
getReturnTypeName
Deprecated.- Specified by:
getReturnTypeNamein interfaceorg.springframework.core.type.MethodMetadata
-