create Agent Metadata
Given this configured instance, find all the methods annotated with @Action and @Condition The instance will have been injected by Spring if it's Spring-managed.
Return
null if the class doesn't satisfy the requirements of @Agentic or doesn't have the annotation at all.
an Agent if the class has the @Agent annotation, otherwise the AgentMetadata superinterface