Package org.springframework.data.type
Interface MethodsMetadata
- All Superinterfaces:
ClassMetadata
Deprecated.
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 TypeMethodDescriptionDeprecated.Return all methods.getMethods(String name) Deprecated.Return all methods matching methodname.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<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
Deprecated.Return all methods matching methodname.- Parameters:
name- name of the method, must not be null or empty.- Returns:
- the methods matching method
namedeclared in the class ordered as found in the class file. Order does not necessarily reflect the declaration order in the source file.
-
MetadataReaderdirectly to obtaindeclared methodsdirectly.