/** Sets the binding to a copy with the specified annotation on the bound key */ protected BindingImpl<T> annotatedWithInternal(Annotation annotation) { checkNotNull(annotation, "annotation"); checkNotAnnotated(); return setBinding(binding.withKey(Key.get(this.binding.getKey().getTypeLiteral(), annotation))); }
/** Sets the binding to a copy with the specified annotation on the bound key */ protected BindingImpl<T> annotatedWithInternal(Class<? extends Annotation> annotationType) { checkNotNull(annotationType, "annotationType"); checkNotAnnotated(); return setBinding( binding.withKey(Key.get(this.binding.getKey().getTypeLiteral(), annotationType))); }
/** Sets the binding to a copy with the specified annotation on the bound key */ protected BindingImpl<T> annotatedWithInternal(Annotation annotation) { checkNotNull(annotation, "annotation"); checkNotAnnotated(); return setBinding(binding.withKey(Key.get(this.binding.getKey().getTypeLiteral(), annotation))); }
/** Sets the binding to a copy with the specified annotation on the bound key */ protected BindingImpl<T> annotatedWithInternal(Class<? extends Annotation> annotationType) { checkNotNull(annotationType, "annotationType"); checkNotAnnotated(); return setBinding( binding.withKey(Key.get(this.binding.getKey().getTypeLiteral(), annotationType))); }
/** * Sets the binding to a copy with the specified annotation on the bound key */ protected BindingImpl<T> annotatedWithInternal(Annotation annotation) { checkNotNull(annotation, "annotation"); checkNotAnnotated(); return setBinding(binding.withKey( Key.get(this.binding.getKey().getTypeLiteral(), annotation))); }
/** Sets the binding to a copy with the specified annotation on the bound key */ protected BindingImpl<T> annotatedWithInternal(Class<? extends Annotation> annotationType) { checkNotNull(annotationType, "annotationType"); checkNotAnnotated(); return setBinding( binding.withKey(Key.get(this.binding.getKey().getTypeLiteral(), annotationType))); }
/** Sets the binding to a copy with the specified annotation on the bound key */ protected BindingImpl<T> annotatedWithInternal(Annotation annotation) { checkNotNull(annotation, "annotation"); checkNotAnnotated(); return setBinding(binding.withKey(Key.get(this.binding.getKey().getTypeLiteral(), annotation))); }
/** * Sets the binding to a copy with the specified annotation on the bound key */ protected BindingImpl<T> annotatedWithInternal(Class<? extends Annotation> annotationType) { checkNotNull(annotationType, "annotationType"); checkNotAnnotated(); return setBinding(binding.withKey( Key.get(this.binding.getKey().getTypeLiteral(), annotationType))); }
/** Sets the binding to a copy with the specified annotation on the bound key */ protected BindingImpl<T> annotatedWithInternal(Annotation annotation) { checkNotNull(annotation, "annotation"); checkNotAnnotated(); return setBinding(binding.withKey( Key.get(this.binding.getKey().getTypeLiteral(), annotation))); }
/** Sets the binding to a copy with the specified annotation on the bound key */ protected BindingImpl<T> annotatedWithInternal(Class<? extends Annotation> annotationType) { checkNotNull(annotationType, "annotationType"); checkNotAnnotated(); return setBinding(binding.withKey( Key.get(this.binding.getKey().getTypeLiteral(), annotationType))); }
/** Sets the binding to a copy with the specified annotation on the bound key */ protected BindingImpl<T> annotatedWithInternal(Class<? extends Annotation> annotationType) { checkNotNull(annotationType, "annotationType"); checkNotAnnotated(); return setBinding(binding.withKey( Key.get(this.binding.getKey().getTypeLiteral(), annotationType))); }
/** Sets the binding to a copy with the specified annotation on the bound key */ protected BindingImpl<T> annotatedWithInternal(Annotation annotation) { checkNotNull(annotation, "annotation"); checkNotAnnotated(); return setBinding(binding.withKey( Key.get(this.binding.getKey().getTypeLiteral(), annotation))); }
/** Sets the binding to a copy with the specified annotation on the bound key */ protected BindingImpl<T> annotatedWithInternal(Class<? extends Annotation> annotationType) { checkNotNull(annotationType, "annotationType"); checkNotAnnotated(); return setBinding(binding.withKey( Key.get(this.binding.getKey().getTypeLiteral(), annotationType))); }
/** Sets the binding to a copy with the specified annotation on the bound key */ protected BindingImpl<T> annotatedWithInternal(Annotation annotation) { checkNotNull(annotation, "annotation"); checkNotAnnotated(); return setBinding(binding.withKey( Key.get(this.binding.getKey().getTypeLiteral(), annotation))); }