spring-boot-project/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint/annotation/AnnotationEndpointDiscoverer.java
/**
	 * Determines if an extension is exposed.
	 * @param endpointType the endpoint type
	 * @param extensionType the extension type
	 * @param endpointInfo the endpoint info
	 * @return if the extension is exposed
	 */
Determines if an extension is exposed.
@param endpointType the endpoint type
@param extensionType the extension type
@param endpointInfo the endpoint info
@return if the extension is exposed
Determines if an extension is exposed . @param endpointType the endpoint type @param extensionType the extension type @param endpointInfo the endpoint info @return if the extension is exposed
protected boolean isExtensionExposed(Class<?> endpointType, Class<?> extensionType,
			EndpointInfo<T> endpointInfo) {
		AnnotationAttributes annotationAttributes = AnnotatedElementUtils
				.getMergedAnnotationAttributes(extensionType, EndpointExtension.class);
		Class<?> filterClass = annotationAttributes.getClass("filter");
		return isFilterMatch(filterClass, endpointInfo);
	}
protected boolean isExtensionExposed ( Class < ? > endpointType , Class < ? > extensionType , EndpointInfo < T > endpointInfo ) { AnnotationAttributes annotationAttributes = AnnotatedElementUtils . getMergedAnnotationAttributes ( extensionType , EndpointExtension . class ) ; Class < ? > filterClass = annotationAttributes . getClass ( "filter" ) ; return isFilterMatch ( filterClass , endpointInfo ) ; }
Determines if an extension is exposed.
Determines if an extension is exposed .