List of usage examples for org.springframework.core.type MethodMetadata isAbstract
boolean isAbstract();
From source file:org.springframework.context.annotation.ConfigurationClassParser.java
/** * Register default methods on interfaces implemented by the configuration class. *///from w w w . ja v a2s.co m private void processInterfaces(ConfigurationClass configClass, SourceClass sourceClass) throws IOException { for (SourceClass ifc : sourceClass.getInterfaces()) { Set<MethodMetadata> beanMethods = retrieveBeanMethodMetadata(ifc); for (MethodMetadata methodMetadata : beanMethods) { if (!methodMetadata.isAbstract()) { // A default method or other concrete method on a Java 8+ interface... configClass.addBeanMethod(new BeanMethod(methodMetadata, configClass)); } } processInterfaces(configClass, ifc); } }