Class GuiceAopConfig
java.lang.Object
ru.vyarus.dropwizard.guice.debug.report.guice.GuiceAopConfig
Guice AOP report configuration. Used to reduce report to only interesting parts.
- Since:
- 23.08.2019
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.google.inject.matcher.Matcher<? super Method>com.google.inject.matcher.Matcher<? super Class<?>>Hide available interceptors block.final GuiceAopConfiginterceptors(Class<? extends org.aopalliance.intercept.MethodInterceptor>... interceptors) Filter by interceptor (show only methods affected with this interceptor).booleanFilter methods.Filter bindings by type.
-
Constructor Details
-
GuiceAopConfig
public GuiceAopConfig()
-
-
Method Details
-
hideDeclarationsBlock
Hide available interceptors block.- Returns:
- config instance for chained calls
-
types
Filter bindings by type.- Parameters:
matcher- type matcher- Returns:
- config instance for chained calls
-
methods
Filter methods.- Parameters:
matcher- method matcher- Returns:
- config instance for chained calls
-
interceptors
@SafeVarargs public final GuiceAopConfig interceptors(Class<? extends org.aopalliance.intercept.MethodInterceptor>... interceptors) Filter by interceptor (show only methods affected with this interceptor).- Parameters:
interceptors- interceptors to show- Returns:
- config instance for chained calls
-
isHideDeclarationsBlock
public boolean isHideDeclarationsBlock()- Returns:
- true if declaration block must not be shown
-
getTypeMatcher
- Returns:
- configured type matcher or null
-
getMethodMatcher
- Returns:
- configured method matcher or null
-
getShowOnly
- Returns:
- list of interceptor classes to show or empty list
-