Code example for MethodMetadata

Methods: getMethodName

0
	 * @since 4.1.1 
	 */ 
	public AnnotatedGenericBeanDefinition(AnnotationMetadata metadata, MethodMetadata factoryMethodMetadata) {
		this(metadata);
		Assert.notNull(factoryMethodMetadata, "MethodMetadata must not be null");
		setFactoryMethodName(factoryMethodMetadata.getMethodName());
		this.factoryMethodMetadata = factoryMethodMetadata;
	} 
 
 
	@Override 
	public final AnnotationMetadata getMetadata() {
		 return this.metadata;
	} 
 
	@Override 
	public final MethodMetadata getFactoryMethodMetadata() {
		return this.factoryMethodMetadata;
	} 
 
Experience pair programming with AI  Get Codota for Java