Interface MethodsMetadata

All Superinterfaces:
org.springframework.core.type.ClassMetadata

@Deprecated public interface MethodsMetadata extends org.springframework.core.type.ClassMetadata
Deprecated.
since 3.0, use MetadataReader directly to obtain declared methods directly.
Interface that defines abstract metadata of a specific class, in a form that does not require that class to be loaded yet.
Since:
2.1
Author:
Mark Paluch
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    Set<org.springframework.core.type.MethodMetadata>
    Deprecated.
    Return all methods.
    Set<org.springframework.core.type.MethodMetadata>
    Deprecated.
    Return all methods matching method name.

    Methods inherited from interface org.springframework.core.type.ClassMetadata

    getClassName, getEnclosingClassName, getInterfaceNames, getMemberClassNames, getSuperClassName, hasEnclosingClass, hasSuperClass, isAbstract, isAnnotation, isConcrete, isFinal, isIndependent, isInterface
  • Method Details

    • getMethods

      Set<org.springframework.core.type.MethodMetadata> getMethods()
      Deprecated.
      Return all methods.
      Returns:
      the methods declared in the class ordered as found in the class file. Order does not necessarily reflect the declaration order in the source file.
    • getMethods

      Set<org.springframework.core.type.MethodMetadata> getMethods(String name)
      Deprecated.
      Return all methods matching method name.
      Parameters:
      name - name of the method, must not be null or empty.
      Returns:
      the methods matching method name declared in the class ordered as found in the class file. Order does not necessarily reflect the declaration order in the source file.