Interface AnnotationResolver
- All Known Implementing Classes:
ComponentBeanNameAnnotationResolver
,ConfigurationBeanNameAnnotationResolver
,InterfaceBeanNameAnnotationResolver
,ServiceBeanNameAnnotationResolver
public interface AnnotationResolver
Represents an interface for resolving annotations on classes.
Implementations of this interface define methods to determine support for handling
specific classes and to resolve information related to those classes' annotations.
Example usage: An implementation of this interface might determine whether a certain annotation is supported on a given class and provide functionality to extract information from that annotation.
- Since:
- 1.0
- Author:
- Blyzhnytsia Team
-
Method Summary
Modifier and TypeMethodDescriptiondefault String
getSimpleName
(Class<?> clazz) boolean
isSupported
(Class<?> clazz) Checks if the resolver supports handling annotations on the specified class.Resolves information related to annotations on the specified class.
-
Method Details
-
isSupported
Checks if the resolver supports handling annotations on the specified class.- Parameters:
clazz
- the class to check for support- Returns:
- true if the resolver supports the class; false otherwise
-
resolve
Resolves information related to annotations on the specified class.- Parameters:
clazz
- the class for which to resolve annotation information- Returns:
- a string representing resolved information from the annotations
-
getSimpleName
-