Map<InterceptionType, List<InterceptorClassMetadata<?>>> getGlobalInterceptors() { if (globalInterceptors.isEmpty()) { return Collections.emptyMap(); } ImmutableMap.Builder<InterceptionType, List<InterceptorClassMetadata<?>>> builder = ImmutableMap.builder(); for (Entry<InterceptionType, List<InterceptorClassMetadata<?>>> entry : globalInterceptors.entrySet()) { builder.put(entry.getKey(), ImmutableList.copyOf(entry.getValue())); } return builder.build(); }
Map<InterceptionType, List<InterceptorClassMetadata<?>>> getGlobalInterceptors() { if (globalInterceptors.isEmpty()) { return Collections.emptyMap(); } ImmutableMap.Builder<InterceptionType, List<InterceptorClassMetadata<?>>> builder = ImmutableMap.builder(); for (Entry<InterceptionType, List<InterceptorClassMetadata<?>>> entry : globalInterceptors.entrySet()) { builder.put(entry.getKey(), ImmutableList.copyOf(entry.getValue())); } return builder.build(); }
Map<InterceptionType, List<InterceptorClassMetadata<?>>> getGlobalInterceptors() { if (globalInterceptors.isEmpty()) { return Collections.emptyMap(); } ImmutableMap.Builder<InterceptionType, List<InterceptorClassMetadata<?>>> builder = ImmutableMap.builder(); for (Entry<InterceptionType, List<InterceptorClassMetadata<?>>> entry : globalInterceptors.entrySet()) { builder.put(entry.getKey(), ImmutableList.copyOf(entry.getValue())); } return builder.build(); }
Map<InterceptionType, Map<Method, List<InterceptorClassMetadata<?>>>> getMethodBoundInterceptors() { if (methodBoundInterceptors.isEmpty()) { return Collections.emptyMap(); } ImmutableMap.Builder<InterceptionType, Map<Method, List<InterceptorClassMetadata<?>>>> builder = ImmutableMap.builder(); for (Entry<InterceptionType, Map<Method, List<InterceptorClassMetadata<?>>>> entry : methodBoundInterceptors.entrySet()) { ImmutableMap.Builder<Method, List<InterceptorClassMetadata<?>>> metadataBuilder = ImmutableMap.builder(); for (Entry<Method, List<InterceptorClassMetadata<?>>> metadataEntry : entry.getValue().entrySet()) { metadataBuilder.put(metadataEntry.getKey(), ImmutableList.copyOf(metadataEntry.getValue())); } builder.put(entry.getKey(), metadataBuilder.build()); } return builder.build(); }
Map<InterceptionType, Map<Method, List<InterceptorClassMetadata<?>>>> getMethodBoundInterceptors() { if (methodBoundInterceptors.isEmpty()) { return Collections.emptyMap(); } ImmutableMap.Builder<InterceptionType, Map<Method, List<InterceptorClassMetadata<?>>>> builder = ImmutableMap.builder(); for (Entry<InterceptionType, Map<Method, List<InterceptorClassMetadata<?>>>> entry : methodBoundInterceptors.entrySet()) { ImmutableMap.Builder<Method, List<InterceptorClassMetadata<?>>> metadataBuilder = ImmutableMap.builder(); for (Entry<Method, List<InterceptorClassMetadata<?>>> metadataEntry : entry.getValue().entrySet()) { metadataBuilder.put(metadataEntry.getKey(), ImmutableList.copyOf(metadataEntry.getValue())); } builder.put(entry.getKey(), metadataBuilder.build()); } return builder.build(); }
Map<InterceptionType, Map<Method, List<InterceptorClassMetadata<?>>>> getMethodBoundInterceptors() { if (methodBoundInterceptors.isEmpty()) { return Collections.emptyMap(); } ImmutableMap.Builder<InterceptionType, Map<Method, List<InterceptorClassMetadata<?>>>> builder = ImmutableMap.builder(); for (Entry<InterceptionType, Map<Method, List<InterceptorClassMetadata<?>>>> entry : methodBoundInterceptors.entrySet()) { ImmutableMap.Builder<Method, List<InterceptorClassMetadata<?>>> metadataBuilder = ImmutableMap.builder(); for (Entry<Method, List<InterceptorClassMetadata<?>>> metadataEntry : entry.getValue().entrySet()) { metadataBuilder.put(metadataEntry.getKey(), ImmutableList.copyOf(metadataEntry.getValue())); } builder.put(entry.getKey(), metadataBuilder.build()); } return builder.build(); }
Map<Member, Set<Annotation>> getMemberInterceptorBindings() { return memberInterceptorBindings.build(); } }
Map<Member, Set<Annotation>> getMemberInterceptorBindings() { return memberInterceptorBindings.build(); }
Map<Member, Set<Annotation>> getMemberInterceptorBindings() { return memberInterceptorBindings.build(); }
Map<InterceptionType, Map<Method, List<InterceptorClassMetadata<?>>>> getMethodBoundInterceptors() { if (methodBoundInterceptors.isEmpty()) { return Collections.emptyMap(); } ImmutableMap.Builder<InterceptionType, Map<Method, List<InterceptorClassMetadata<?>>>> builder = ImmutableMap.builder(); for (Entry<InterceptionType, Map<Method, List<InterceptorClassMetadata<?>>>> entry : methodBoundInterceptors.entrySet()) { ImmutableMap.Builder<Method, List<InterceptorClassMetadata<?>>> metadataBuilder = ImmutableMap.builder(); for (Entry<Method, List<InterceptorClassMetadata<?>>> metadataEntry : entry.getValue().entrySet()) { metadataBuilder.put(metadataEntry.getKey(), ImmutableList.copyOf(metadataEntry.getValue())); } builder.put(entry.getKey(), metadataBuilder.build()); } return builder.build(); }
Map<Member, Set<Annotation>> getMemberInterceptorBindings() { return memberInterceptorBindings.build(); }
/** * Creates an immutable map. A copy of the given map is used. As a result, it is safe to modify the source map afterwards. * * @param map the given map * @return an immutable map */ public static <K, V> Map<K, V> copyOf(Map<K, V> map) { Preconditions.checkNotNull(map); return ImmutableMap.<K, V> builder().putAll(map).build(); }
/** * Creates an immutable map. A copy of the given map is used. As a result, it is safe to modify the source map afterwards. * * @param map the given map * @return an immutable map */ public static <K, V> Map<K, V> copyOf(Map<K, V> map) { Preconditions.checkNotNull(map); return ImmutableMap.<K, V> builder().putAll(map).build(); }
/** * Creates an immutable map. A copy of the given map is used. As a result, it is safe to modify the source map afterwards. * * @param map the given map * @return an immutable map */ public static <K, V> Map<K, V> copyOf(Map<K, V> map) { Preconditions.checkNotNull(map); return ImmutableMap.<K, V> builder().putAll(map).build(); }
/** * Creates an immutable map. A copy of the given map is used. As a result, it is safe to modify the source map afterwards. * * @param map the given map * @return an immutable map */ public static <K, V> Map<K, V> copyOf(Map<K, V> map) { Preconditions.checkNotNull(map); return ImmutableMap.<K, V> builder().putAll(map).build(); }
Map<InterceptionType, List<InterceptorClassMetadata<?>>> getGlobalInterceptors() { if (globalInterceptors.isEmpty()) { return Collections.emptyMap(); } ImmutableMap.Builder<InterceptionType, List<InterceptorClassMetadata<?>>> builder = ImmutableMap.builder(); for (Entry<InterceptionType, List<InterceptorClassMetadata<?>>> entry : globalInterceptors.entrySet()) { builder.put(entry.getKey(), ImmutableList.copyOf(entry.getValue())); } return builder.build(); }
Map<InterceptionType, List<InterceptorClassMetadata<?>>> getGlobalInterceptors() { if (globalInterceptors.isEmpty()) { return Collections.emptyMap(); } ImmutableMap.Builder<InterceptionType, List<InterceptorClassMetadata<?>>> builder = ImmutableMap.builder(); for (Entry<InterceptionType, List<InterceptorClassMetadata<?>>> entry : globalInterceptors.entrySet()) { builder.put(entry.getKey(), ImmutableList.copyOf(entry.getValue())); } return builder.build(); }
Map<InterceptionType, List<InterceptorClassMetadata<?>>> getGlobalInterceptors() { if (globalInterceptors.isEmpty()) { return Collections.emptyMap(); } ImmutableMap.Builder<InterceptionType, List<InterceptorClassMetadata<?>>> builder = ImmutableMap.builder(); for (Entry<InterceptionType, List<InterceptorClassMetadata<?>>> entry : globalInterceptors.entrySet()) { builder.put(entry.getKey(), ImmutableList.copyOf(entry.getValue())); } return builder.build(); }
/** * Creates an immutable map. A copy of the given map is used. As a result, it is safe to modify the source map afterwards. * * @param map the given map * @return an immutable map */ public static <K, V> Map<K, V> copyOf(Map<K, V> map) { Preconditions.checkNotNull(map); return ImmutableMap.<K, V> builder().putAll(map).build(); }
/** * Creates an immutable map. A copy of the given map is used. As a result, it is safe to modify the source map afterwards. * * @param map the given map * @return an immutable map */ public static <K, V> Map<K, V> copyOf(Map<K, V> map) { Preconditions.checkNotNull(map); return ImmutableMap.<K, V> builder().putAll(map).build(); }