[Rename] o.e.common.internal (#330)

This commit refactors the o.e.common.internal package to the o.opensearch
namespace. All code references throught the codebase have been refactored.

Signed-off-by: Nicholas Knize <nknize@amazon.com>
This commit is contained in:
Nick Knize 2021-03-16 10:16:35 -05:00 committed by Nick Knize
parent c4565adc9d
commit 8c2bcbbc8e
81 changed files with 206 additions and 206 deletions

View File

@ -21,7 +21,7 @@ import org.opensearch.common.inject.Inject;
import org.opensearch.common.inject.Injector;
import org.opensearch.common.inject.Provider;
import org.opensearch.common.inject.TypeLiteral;
import org.elasticsearch.common.inject.internal.Errors;
import org.opensearch.common.inject.internal.Errors;
import org.elasticsearch.common.inject.spi.Dependency;
import org.elasticsearch.common.inject.spi.HasDependencies;
import org.elasticsearch.common.inject.spi.Message;

View File

@ -26,7 +26,7 @@ import org.opensearch.common.inject.Module;
import org.opensearch.common.inject.Provider;
import org.opensearch.common.inject.TypeLiteral;
import org.elasticsearch.common.inject.binder.LinkedBindingBuilder;
import org.elasticsearch.common.inject.internal.Errors;
import org.opensearch.common.inject.internal.Errors;
import org.elasticsearch.common.inject.spi.Dependency;
import org.elasticsearch.common.inject.spi.HasDependencies;
import org.elasticsearch.common.inject.spi.Message;

View File

@ -32,14 +32,14 @@ import org.opensearch.common.inject.TypeLiteral;
import org.elasticsearch.common.inject.binder.AnnotatedBindingBuilder;
import org.elasticsearch.common.inject.binder.AnnotatedConstantBindingBuilder;
import org.elasticsearch.common.inject.binder.AnnotatedElementBuilder;
import org.elasticsearch.common.inject.internal.AbstractBindingBuilder;
import org.elasticsearch.common.inject.internal.BindingBuilder;
import org.elasticsearch.common.inject.internal.ConstantBindingBuilderImpl;
import org.elasticsearch.common.inject.internal.Errors;
import org.elasticsearch.common.inject.internal.ExposureBuilder;
import org.elasticsearch.common.inject.internal.PrivateElementsImpl;
import org.elasticsearch.common.inject.internal.ProviderMethodsModule;
import org.elasticsearch.common.inject.internal.SourceProvider;
import org.opensearch.common.inject.internal.AbstractBindingBuilder;
import org.opensearch.common.inject.internal.BindingBuilder;
import org.opensearch.common.inject.internal.ConstantBindingBuilderImpl;
import org.opensearch.common.inject.internal.Errors;
import org.opensearch.common.inject.internal.ExposureBuilder;
import org.opensearch.common.inject.internal.PrivateElementsImpl;
import org.opensearch.common.inject.internal.ProviderMethodsModule;
import org.opensearch.common.inject.internal.SourceProvider;
import org.elasticsearch.common.inject.matcher.Matcher;
import java.lang.annotation.Annotation;

View File

@ -20,11 +20,11 @@ import org.opensearch.common.inject.ConfigurationException;
import org.opensearch.common.inject.Inject;
import org.opensearch.common.inject.Key;
import org.opensearch.common.inject.TypeLiteral;
import org.elasticsearch.common.inject.internal.Annotations;
import org.elasticsearch.common.inject.internal.Errors;
import org.elasticsearch.common.inject.internal.ErrorsException;
import org.elasticsearch.common.inject.internal.MoreTypes;
import org.elasticsearch.common.inject.internal.Nullability;
import org.opensearch.common.inject.internal.Annotations;
import org.opensearch.common.inject.internal.Errors;
import org.opensearch.common.inject.internal.ErrorsException;
import org.opensearch.common.inject.internal.MoreTypes;
import org.opensearch.common.inject.internal.Nullability;
import java.lang.annotation.Annotation;
import java.lang.reflect.AnnotatedElement;
@ -43,7 +43,7 @@ import java.util.List;
import java.util.Set;
import static java.util.Collections.unmodifiableSet;
import static org.elasticsearch.common.inject.internal.MoreTypes.getRawType;
import static org.opensearch.common.inject.internal.MoreTypes.getRawType;
/**
* A constructor, field or method that can receive injections. Typically this is a member with the

View File

@ -17,8 +17,8 @@
package org.elasticsearch.common.inject.spi;
import org.opensearch.common.inject.Binder;
import org.elasticsearch.common.inject.internal.Errors;
import org.elasticsearch.common.inject.internal.SourceProvider;
import org.opensearch.common.inject.internal.Errors;
import org.opensearch.common.inject.internal.SourceProvider;
import java.util.Collections;
import java.util.List;

View File

@ -18,10 +18,10 @@
package org.elasticsearch.common.inject.util;
import org.opensearch.common.inject.Provider;
import org.elasticsearch.common.inject.internal.MoreTypes;
import org.elasticsearch.common.inject.internal.MoreTypes.GenericArrayTypeImpl;
import org.elasticsearch.common.inject.internal.MoreTypes.ParameterizedTypeImpl;
import org.elasticsearch.common.inject.internal.MoreTypes.WildcardTypeImpl;
import org.opensearch.common.inject.internal.MoreTypes;
import org.opensearch.common.inject.internal.MoreTypes.GenericArrayTypeImpl;
import org.opensearch.common.inject.internal.MoreTypes.ParameterizedTypeImpl;
import org.opensearch.common.inject.internal.MoreTypes.WildcardTypeImpl;
import java.lang.reflect.GenericArrayType;
import java.lang.reflect.ParameterizedType;

View File

@ -16,7 +16,7 @@
package org.opensearch.common.inject;
import org.elasticsearch.common.inject.internal.Errors;
import org.opensearch.common.inject.internal.Errors;
import org.elasticsearch.common.inject.spi.Element;
import org.elasticsearch.common.inject.spi.ElementVisitor;
import org.elasticsearch.common.inject.spi.InjectionRequest;

View File

@ -16,19 +16,19 @@
package org.opensearch.common.inject;
import org.elasticsearch.common.inject.internal.Annotations;
import org.elasticsearch.common.inject.internal.BindingImpl;
import org.elasticsearch.common.inject.internal.Errors;
import org.elasticsearch.common.inject.internal.ErrorsException;
import org.elasticsearch.common.inject.internal.ExposedBindingImpl;
import org.elasticsearch.common.inject.internal.InstanceBindingImpl;
import org.elasticsearch.common.inject.internal.InternalFactory;
import org.elasticsearch.common.inject.internal.LinkedBindingImpl;
import org.elasticsearch.common.inject.internal.LinkedProviderBindingImpl;
import org.elasticsearch.common.inject.internal.ProviderInstanceBindingImpl;
import org.elasticsearch.common.inject.internal.ProviderMethod;
import org.elasticsearch.common.inject.internal.Scoping;
import org.elasticsearch.common.inject.internal.UntargettedBindingImpl;
import org.opensearch.common.inject.internal.Annotations;
import org.opensearch.common.inject.internal.BindingImpl;
import org.opensearch.common.inject.internal.Errors;
import org.opensearch.common.inject.internal.ErrorsException;
import org.opensearch.common.inject.internal.ExposedBindingImpl;
import org.opensearch.common.inject.internal.InstanceBindingImpl;
import org.opensearch.common.inject.internal.InternalFactory;
import org.opensearch.common.inject.internal.LinkedBindingImpl;
import org.opensearch.common.inject.internal.LinkedProviderBindingImpl;
import org.opensearch.common.inject.internal.ProviderInstanceBindingImpl;
import org.opensearch.common.inject.internal.ProviderMethod;
import org.opensearch.common.inject.internal.Scoping;
import org.opensearch.common.inject.internal.UntargettedBindingImpl;
import org.elasticsearch.common.inject.spi.BindingTargetVisitor;
import org.elasticsearch.common.inject.spi.ConstructorBinding;
import org.elasticsearch.common.inject.spi.ConvertedConstantBinding;

View File

@ -17,10 +17,10 @@
package org.opensearch.common.inject;
import org.opensearch.common.inject.BindingProcessor.CreationListener;
import org.elasticsearch.common.inject.internal.Errors;
import org.elasticsearch.common.inject.internal.ErrorsException;
import org.elasticsearch.common.inject.internal.InternalContext;
import org.elasticsearch.common.inject.internal.InternalFactory;
import org.opensearch.common.inject.internal.Errors;
import org.opensearch.common.inject.internal.ErrorsException;
import org.opensearch.common.inject.internal.InternalContext;
import org.opensearch.common.inject.internal.InternalFactory;
import org.elasticsearch.common.inject.spi.Dependency;
/**

View File

@ -16,7 +16,7 @@
package org.opensearch.common.inject;
import org.elasticsearch.common.inject.internal.Errors;
import org.opensearch.common.inject.internal.Errors;
import org.elasticsearch.common.inject.spi.Message;
import java.util.Collection;

View File

@ -16,11 +16,11 @@
package org.opensearch.common.inject;
import org.elasticsearch.common.inject.internal.Errors;
import org.elasticsearch.common.inject.internal.ErrorsException;
import org.elasticsearch.common.inject.internal.InternalContext;
import org.elasticsearch.common.inject.internal.InternalFactory;
import org.elasticsearch.common.inject.internal.ToStringBuilder;
import org.opensearch.common.inject.internal.Errors;
import org.opensearch.common.inject.internal.ErrorsException;
import org.opensearch.common.inject.internal.InternalContext;
import org.opensearch.common.inject.internal.InternalFactory;
import org.opensearch.common.inject.internal.ToStringBuilder;
import org.elasticsearch.common.inject.spi.Dependency;
/**

View File

@ -16,13 +16,13 @@
package org.opensearch.common.inject;
import org.elasticsearch.common.inject.internal.BindingImpl;
import org.elasticsearch.common.inject.internal.Errors;
import org.elasticsearch.common.inject.internal.ErrorsException;
import org.elasticsearch.common.inject.internal.InternalContext;
import org.elasticsearch.common.inject.internal.InternalFactory;
import org.elasticsearch.common.inject.internal.Scoping;
import org.elasticsearch.common.inject.internal.ToStringBuilder;
import org.opensearch.common.inject.internal.BindingImpl;
import org.opensearch.common.inject.internal.Errors;
import org.opensearch.common.inject.internal.ErrorsException;
import org.opensearch.common.inject.internal.InternalContext;
import org.opensearch.common.inject.internal.InternalFactory;
import org.opensearch.common.inject.internal.Scoping;
import org.opensearch.common.inject.internal.ToStringBuilder;
import org.elasticsearch.common.inject.spi.BindingTargetVisitor;
import org.elasticsearch.common.inject.spi.ConstructorBinding;
import org.elasticsearch.common.inject.spi.Dependency;

View File

@ -16,10 +16,10 @@
package org.opensearch.common.inject;
import org.elasticsearch.common.inject.internal.ConstructionContext;
import org.elasticsearch.common.inject.internal.Errors;
import org.elasticsearch.common.inject.internal.ErrorsException;
import org.elasticsearch.common.inject.internal.InternalContext;
import org.opensearch.common.inject.internal.ConstructionContext;
import org.opensearch.common.inject.internal.Errors;
import org.opensearch.common.inject.internal.ErrorsException;
import org.opensearch.common.inject.internal.InternalContext;
import org.elasticsearch.common.inject.spi.InjectionPoint;
import java.lang.reflect.InvocationTargetException;

View File

@ -16,9 +16,9 @@
package org.opensearch.common.inject;
import org.elasticsearch.common.inject.internal.Errors;
import org.elasticsearch.common.inject.internal.ErrorsException;
import org.elasticsearch.common.inject.internal.FailableCache;
import org.opensearch.common.inject.internal.Errors;
import org.opensearch.common.inject.internal.ErrorsException;
import org.opensearch.common.inject.internal.FailableCache;
import org.elasticsearch.common.inject.spi.InjectionPoint;
/**

View File

@ -16,8 +16,8 @@
package org.opensearch.common.inject;
import org.elasticsearch.common.inject.internal.ErrorsException;
import org.elasticsearch.common.inject.internal.InternalContext;
import org.opensearch.common.inject.internal.ErrorsException;
import org.opensearch.common.inject.internal.InternalContext;
/**
* @author crazybob@google.com (Bob Lee)

View File

@ -16,7 +16,7 @@
package org.opensearch.common.inject;
import org.elasticsearch.common.inject.internal.Errors;
import org.opensearch.common.inject.internal.Errors;
import org.elasticsearch.common.inject.spi.Message;
import java.util.Collection;

View File

@ -16,7 +16,7 @@
package org.opensearch.common.inject;
import org.elasticsearch.common.inject.internal.Errors;
import org.opensearch.common.inject.internal.Errors;
import org.elasticsearch.common.inject.spi.Element;
import org.elasticsearch.common.inject.spi.MembersInjectorLookup;
import org.elasticsearch.common.inject.spi.ProviderLookup;

View File

@ -16,7 +16,7 @@
package org.opensearch.common.inject;
import org.elasticsearch.common.inject.internal.Errors;
import org.opensearch.common.inject.internal.Errors;
import org.elasticsearch.common.inject.spi.InjectionListener;
import org.elasticsearch.common.inject.spi.Message;
import org.elasticsearch.common.inject.spi.TypeEncounter;

View File

@ -16,11 +16,11 @@
package org.opensearch.common.inject;
import org.elasticsearch.common.inject.internal.BindingImpl;
import org.elasticsearch.common.inject.internal.Errors;
import org.elasticsearch.common.inject.internal.ErrorsException;
import org.elasticsearch.common.inject.internal.InternalContext;
import org.elasticsearch.common.inject.internal.InternalFactory;
import org.opensearch.common.inject.internal.BindingImpl;
import org.opensearch.common.inject.internal.Errors;
import org.opensearch.common.inject.internal.ErrorsException;
import org.opensearch.common.inject.internal.InternalContext;
import org.opensearch.common.inject.internal.InternalFactory;
import org.elasticsearch.common.inject.spi.Dependency;
import org.elasticsearch.common.inject.spi.PrivateElements;

View File

@ -17,11 +17,11 @@
package org.opensearch.common.inject;
import org.elasticsearch.common.inject.internal.Errors;
import org.elasticsearch.common.inject.internal.ErrorsException;
import org.elasticsearch.common.inject.internal.InternalContext;
import org.elasticsearch.common.inject.internal.InternalFactory;
import org.elasticsearch.common.inject.internal.ToStringBuilder;
import org.opensearch.common.inject.internal.Errors;
import org.opensearch.common.inject.internal.ErrorsException;
import org.opensearch.common.inject.internal.InternalContext;
import org.opensearch.common.inject.internal.InternalFactory;
import org.opensearch.common.inject.internal.ToStringBuilder;
import org.elasticsearch.common.inject.spi.Dependency;
/**

View File

@ -16,12 +16,12 @@
package org.opensearch.common.inject;
import org.elasticsearch.common.inject.internal.BindingImpl;
import org.elasticsearch.common.inject.internal.Errors;
import org.elasticsearch.common.inject.internal.InstanceBindingImpl;
import org.elasticsearch.common.inject.internal.InternalFactory;
import org.elasticsearch.common.inject.internal.MatcherAndConverter;
import org.elasticsearch.common.inject.internal.SourceProvider;
import org.opensearch.common.inject.internal.BindingImpl;
import org.opensearch.common.inject.internal.Errors;
import org.opensearch.common.inject.internal.InstanceBindingImpl;
import org.opensearch.common.inject.internal.InternalFactory;
import org.opensearch.common.inject.internal.MatcherAndConverter;
import org.opensearch.common.inject.internal.SourceProvider;
import org.elasticsearch.common.inject.spi.TypeListenerBinding;
import java.lang.annotation.Annotation;

View File

@ -16,8 +16,8 @@
package org.opensearch.common.inject;
import org.elasticsearch.common.inject.internal.Errors;
import org.elasticsearch.common.inject.internal.ErrorsException;
import org.opensearch.common.inject.internal.Errors;
import org.opensearch.common.inject.internal.ErrorsException;
/**
* Holds a reference that requires initialization to be performed before it can be used.

View File

@ -16,8 +16,8 @@
package org.opensearch.common.inject;
import org.elasticsearch.common.inject.internal.Errors;
import org.elasticsearch.common.inject.internal.ErrorsException;
import org.opensearch.common.inject.internal.Errors;
import org.opensearch.common.inject.internal.ErrorsException;
/**
* @author jessewilson@google.com (Jesse Wilson)

View File

@ -16,8 +16,8 @@
package org.opensearch.common.inject;
import org.elasticsearch.common.inject.internal.Errors;
import org.elasticsearch.common.inject.internal.ErrorsException;
import org.opensearch.common.inject.internal.Errors;
import org.opensearch.common.inject.internal.ErrorsException;
import org.elasticsearch.common.inject.spi.InjectionPoint;
import java.util.ArrayList;

View File

@ -16,9 +16,9 @@
package org.opensearch.common.inject;
import org.elasticsearch.common.inject.internal.Errors;
import org.elasticsearch.common.inject.internal.ErrorsException;
import org.elasticsearch.common.inject.internal.InternalContext;
import org.opensearch.common.inject.internal.Errors;
import org.opensearch.common.inject.internal.ErrorsException;
import org.opensearch.common.inject.internal.InternalContext;
import org.elasticsearch.common.inject.spi.InjectionPoint;
import org.elasticsearch.common.inject.spi.InjectionRequest;
import org.elasticsearch.common.inject.spi.StaticInjectionRequest;

View File

@ -16,11 +16,11 @@
package org.opensearch.common.inject;
import org.elasticsearch.common.inject.internal.BindingImpl;
import org.elasticsearch.common.inject.internal.Errors;
import org.elasticsearch.common.inject.internal.ErrorsException;
import org.elasticsearch.common.inject.internal.InternalContext;
import org.elasticsearch.common.inject.internal.Stopwatch;
import org.opensearch.common.inject.internal.BindingImpl;
import org.opensearch.common.inject.internal.Errors;
import org.opensearch.common.inject.internal.ErrorsException;
import org.opensearch.common.inject.internal.InternalContext;
import org.opensearch.common.inject.internal.Stopwatch;
import org.elasticsearch.common.inject.spi.Dependency;
import java.util.List;

View File

@ -17,19 +17,19 @@
package org.opensearch.common.inject;
import org.opensearch.common.Classes;
import org.elasticsearch.common.inject.internal.Annotations;
import org.elasticsearch.common.inject.internal.BindingImpl;
import org.elasticsearch.common.inject.internal.Errors;
import org.elasticsearch.common.inject.internal.ErrorsException;
import org.elasticsearch.common.inject.internal.InstanceBindingImpl;
import org.elasticsearch.common.inject.internal.InternalContext;
import org.elasticsearch.common.inject.internal.InternalFactory;
import org.elasticsearch.common.inject.internal.LinkedBindingImpl;
import org.elasticsearch.common.inject.internal.LinkedProviderBindingImpl;
import org.elasticsearch.common.inject.internal.MatcherAndConverter;
import org.elasticsearch.common.inject.internal.Scoping;
import org.elasticsearch.common.inject.internal.SourceProvider;
import org.elasticsearch.common.inject.internal.ToStringBuilder;
import org.opensearch.common.inject.internal.Annotations;
import org.opensearch.common.inject.internal.BindingImpl;
import org.opensearch.common.inject.internal.Errors;
import org.opensearch.common.inject.internal.ErrorsException;
import org.opensearch.common.inject.internal.InstanceBindingImpl;
import org.opensearch.common.inject.internal.InternalContext;
import org.opensearch.common.inject.internal.InternalFactory;
import org.opensearch.common.inject.internal.LinkedBindingImpl;
import org.opensearch.common.inject.internal.LinkedProviderBindingImpl;
import org.opensearch.common.inject.internal.MatcherAndConverter;
import org.opensearch.common.inject.internal.Scoping;
import org.opensearch.common.inject.internal.SourceProvider;
import org.opensearch.common.inject.internal.ToStringBuilder;
import org.elasticsearch.common.inject.spi.BindingTargetVisitor;
import org.elasticsearch.common.inject.spi.ConvertedConstantBinding;
import org.elasticsearch.common.inject.spi.Dependency;
@ -52,7 +52,7 @@ import java.util.Set;
import static java.util.Collections.emptySet;
import static java.util.Collections.singleton;
import static org.elasticsearch.common.inject.internal.Annotations.findScopeAnnotation;
import static org.opensearch.common.inject.internal.Annotations.findScopeAnnotation;
/**
* Default {@link Injector} implementation.
@ -240,7 +240,7 @@ class InjectorImpl implements Injector, Lookups {
* Converts a constant string binding to the required type.
*
* @return the binding if it could be resolved, or null if the binding doesn't exist
* @throws org.elasticsearch.common.inject.internal.ErrorsException
* @throws ErrorsException
* if there was an error resolving the binding
*/
private <T> BindingImpl<T> convertConstantStringBinding(Key<T> key, Errors errors)
@ -572,7 +572,7 @@ class InjectorImpl implements Injector, Lookups {
* <li>The constructor of the raw type. Only for unannotated keys.
* </ol>
*
* @throws org.elasticsearch.common.inject.internal.ErrorsException
* @throws ErrorsException
* if the binding cannot be created.
*/
<T> BindingImpl<T> createJustInTimeBinding(Key<T> key, Errors errors) throws ErrorsException {

View File

@ -16,15 +16,15 @@
package org.opensearch.common.inject;
import org.elasticsearch.common.inject.internal.Errors;
import org.elasticsearch.common.inject.internal.ErrorsException;
import org.elasticsearch.common.inject.internal.InternalContext;
import org.elasticsearch.common.inject.internal.InternalFactory;
import org.elasticsearch.common.inject.internal.PrivateElementsImpl;
import org.elasticsearch.common.inject.internal.ProviderInstanceBindingImpl;
import org.elasticsearch.common.inject.internal.Scoping;
import org.elasticsearch.common.inject.internal.SourceProvider;
import org.elasticsearch.common.inject.internal.Stopwatch;
import org.opensearch.common.inject.internal.Errors;
import org.opensearch.common.inject.internal.ErrorsException;
import org.opensearch.common.inject.internal.InternalContext;
import org.opensearch.common.inject.internal.InternalFactory;
import org.opensearch.common.inject.internal.PrivateElementsImpl;
import org.opensearch.common.inject.internal.ProviderInstanceBindingImpl;
import org.opensearch.common.inject.internal.Scoping;
import org.opensearch.common.inject.internal.SourceProvider;
import org.opensearch.common.inject.internal.Stopwatch;
import org.elasticsearch.common.inject.spi.Dependency;
import org.elasticsearch.common.inject.spi.Element;
import org.elasticsearch.common.inject.spi.Elements;

View File

@ -16,11 +16,11 @@
package org.opensearch.common.inject;
import org.elasticsearch.common.inject.internal.Errors;
import org.elasticsearch.common.inject.internal.ErrorsException;
import org.elasticsearch.common.inject.internal.InternalContext;
import org.elasticsearch.common.inject.internal.InternalFactory;
import org.elasticsearch.common.inject.internal.SourceProvider;
import org.opensearch.common.inject.internal.Errors;
import org.opensearch.common.inject.internal.ErrorsException;
import org.opensearch.common.inject.internal.InternalContext;
import org.opensearch.common.inject.internal.InternalFactory;
import org.opensearch.common.inject.internal.SourceProvider;
import org.elasticsearch.common.inject.spi.Dependency;
import java.util.Objects;

View File

@ -16,9 +16,9 @@
package org.opensearch.common.inject;
import org.elasticsearch.common.inject.internal.Annotations;
import org.elasticsearch.common.inject.internal.MoreTypes;
import org.elasticsearch.common.inject.internal.ToStringBuilder;
import org.opensearch.common.inject.internal.Annotations;
import org.opensearch.common.inject.internal.MoreTypes;
import org.opensearch.common.inject.internal.ToStringBuilder;
import java.lang.annotation.Annotation;
import java.lang.reflect.Type;

View File

@ -16,8 +16,8 @@
package org.opensearch.common.inject;
import org.elasticsearch.common.inject.internal.Errors;
import org.elasticsearch.common.inject.internal.ErrorsException;
import org.opensearch.common.inject.internal.Errors;
import org.opensearch.common.inject.internal.ErrorsException;
import org.elasticsearch.common.inject.spi.MembersInjectorLookup;
import org.elasticsearch.common.inject.spi.ProviderLookup;

View File

@ -16,9 +16,9 @@
package org.opensearch.common.inject;
import org.elasticsearch.common.inject.internal.Errors;
import org.elasticsearch.common.inject.internal.ErrorsException;
import org.elasticsearch.common.inject.internal.InternalContext;
import org.opensearch.common.inject.internal.Errors;
import org.opensearch.common.inject.internal.ErrorsException;
import org.opensearch.common.inject.internal.InternalContext;
import org.elasticsearch.common.inject.spi.InjectionListener;
import org.elasticsearch.common.inject.spi.InjectionPoint;

View File

@ -16,9 +16,9 @@
package org.opensearch.common.inject;
import org.elasticsearch.common.inject.internal.Errors;
import org.elasticsearch.common.inject.internal.ErrorsException;
import org.elasticsearch.common.inject.internal.FailableCache;
import org.opensearch.common.inject.internal.Errors;
import org.opensearch.common.inject.internal.ErrorsException;
import org.opensearch.common.inject.internal.FailableCache;
import org.elasticsearch.common.inject.spi.InjectionPoint;
import org.elasticsearch.common.inject.spi.TypeListenerBinding;

View File

@ -16,7 +16,7 @@
package org.opensearch.common.inject;
import org.elasticsearch.common.inject.internal.Errors;
import org.opensearch.common.inject.internal.Errors;
import org.elasticsearch.common.inject.spi.Message;
/**

View File

@ -16,7 +16,7 @@
package org.opensearch.common.inject;
import org.elasticsearch.common.inject.internal.Errors;
import org.opensearch.common.inject.internal.Errors;
import org.elasticsearch.common.inject.spi.PrivateElements;
import java.util.ArrayList;

View File

@ -16,10 +16,10 @@
package org.opensearch.common.inject;
import org.elasticsearch.common.inject.internal.Errors;
import org.elasticsearch.common.inject.internal.ErrorsException;
import org.elasticsearch.common.inject.internal.InternalContext;
import org.elasticsearch.common.inject.internal.InternalFactory;
import org.opensearch.common.inject.internal.Errors;
import org.opensearch.common.inject.internal.ErrorsException;
import org.opensearch.common.inject.internal.InternalContext;
import org.opensearch.common.inject.internal.InternalFactory;
import org.elasticsearch.common.inject.spi.Dependency;
/**

View File

@ -16,7 +16,7 @@
package org.opensearch.common.inject;
import org.elasticsearch.common.inject.internal.Errors;
import org.opensearch.common.inject.internal.Errors;
import org.elasticsearch.common.inject.spi.Message;
import java.util.Collection;

View File

@ -16,8 +16,8 @@
package org.opensearch.common.inject;
import org.elasticsearch.common.inject.internal.Annotations;
import org.elasticsearch.common.inject.internal.Errors;
import org.opensearch.common.inject.internal.Annotations;
import org.opensearch.common.inject.internal.Errors;
import org.elasticsearch.common.inject.spi.ScopeBinding;
import java.lang.annotation.Annotation;

View File

@ -16,9 +16,9 @@
package org.opensearch.common.inject;
import org.elasticsearch.common.inject.internal.Errors;
import org.elasticsearch.common.inject.internal.InternalFactory;
import org.elasticsearch.common.inject.internal.Scoping;
import org.opensearch.common.inject.internal.Errors;
import org.opensearch.common.inject.internal.InternalFactory;
import org.opensearch.common.inject.internal.Scoping;
import java.lang.annotation.Annotation;
import java.util.Locale;

View File

@ -16,10 +16,10 @@
package org.opensearch.common.inject;
import org.elasticsearch.common.inject.internal.Errors;
import org.elasticsearch.common.inject.internal.ErrorsException;
import org.elasticsearch.common.inject.internal.InternalContext;
import org.elasticsearch.common.inject.internal.InternalFactory;
import org.opensearch.common.inject.internal.Errors;
import org.opensearch.common.inject.internal.ErrorsException;
import org.opensearch.common.inject.internal.InternalContext;
import org.opensearch.common.inject.internal.InternalFactory;
import org.elasticsearch.common.inject.spi.Dependency;
import org.elasticsearch.common.inject.spi.InjectionPoint;

View File

@ -16,8 +16,8 @@
package org.opensearch.common.inject;
import org.elasticsearch.common.inject.internal.Errors;
import org.elasticsearch.common.inject.internal.InternalContext;
import org.opensearch.common.inject.internal.Errors;
import org.opensearch.common.inject.internal.InternalContext;
import org.elasticsearch.common.inject.spi.InjectionPoint;
/**

View File

@ -17,9 +17,9 @@
package org.opensearch.common.inject;
import org.opensearch.common.inject.InjectorImpl.MethodInvoker;
import org.elasticsearch.common.inject.internal.Errors;
import org.elasticsearch.common.inject.internal.ErrorsException;
import org.elasticsearch.common.inject.internal.InternalContext;
import org.opensearch.common.inject.internal.Errors;
import org.opensearch.common.inject.internal.ErrorsException;
import org.opensearch.common.inject.internal.InternalContext;
import org.elasticsearch.common.inject.spi.InjectionPoint;
import java.lang.reflect.InvocationTargetException;

View File

@ -16,10 +16,10 @@
package org.opensearch.common.inject;
import org.elasticsearch.common.inject.internal.Errors;
import org.elasticsearch.common.inject.internal.ErrorsException;
import org.elasticsearch.common.inject.internal.InternalContext;
import org.elasticsearch.common.inject.internal.InternalFactory;
import org.opensearch.common.inject.internal.Errors;
import org.opensearch.common.inject.internal.ErrorsException;
import org.opensearch.common.inject.internal.InternalContext;
import org.opensearch.common.inject.internal.InternalFactory;
import org.elasticsearch.common.inject.spi.Dependency;
/**

View File

@ -16,9 +16,9 @@
package org.opensearch.common.inject;
import org.elasticsearch.common.inject.internal.BindingImpl;
import org.elasticsearch.common.inject.internal.Errors;
import org.elasticsearch.common.inject.internal.MatcherAndConverter;
import org.opensearch.common.inject.internal.BindingImpl;
import org.opensearch.common.inject.internal.Errors;
import org.opensearch.common.inject.internal.MatcherAndConverter;
import org.elasticsearch.common.inject.spi.TypeListenerBinding;
import java.lang.annotation.Annotation;

View File

@ -17,10 +17,10 @@
package org.opensearch.common.inject;
import org.elasticsearch.common.inject.internal.Errors;
import org.elasticsearch.common.inject.internal.MatcherAndConverter;
import org.elasticsearch.common.inject.internal.SourceProvider;
import org.elasticsearch.common.inject.internal.Strings;
import org.opensearch.common.inject.internal.Errors;
import org.opensearch.common.inject.internal.MatcherAndConverter;
import org.opensearch.common.inject.internal.SourceProvider;
import org.opensearch.common.inject.internal.Strings;
import org.elasticsearch.common.inject.matcher.AbstractMatcher;
import org.elasticsearch.common.inject.matcher.Matcher;
import org.elasticsearch.common.inject.matcher.Matchers;

View File

@ -16,7 +16,7 @@
package org.opensearch.common.inject;
import org.elasticsearch.common.inject.internal.Errors;
import org.opensearch.common.inject.internal.Errors;
import org.elasticsearch.common.inject.spi.TypeListenerBinding;
/**

View File

@ -16,7 +16,7 @@
package org.opensearch.common.inject;
import org.elasticsearch.common.inject.internal.MoreTypes;
import org.opensearch.common.inject.internal.MoreTypes;
import org.elasticsearch.common.inject.util.Types;
import java.lang.reflect.Constructor;
@ -32,7 +32,7 @@ import java.util.Arrays;
import java.util.List;
import java.util.Objects;
import static org.elasticsearch.common.inject.internal.MoreTypes.canonicalize;
import static org.opensearch.common.inject.internal.MoreTypes.canonicalize;
/**
* Represents a generic type {@code T}. Java doesn't yet provide a way to

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.elasticsearch.common.inject.internal;
package org.opensearch.common.inject.internal;
import org.opensearch.common.inject.Binder;
import org.opensearch.common.inject.Key;

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.elasticsearch.common.inject.internal;
package org.opensearch.common.inject.internal;
import org.opensearch.common.Classes;
import org.opensearch.common.inject.BindingAnnotation;

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.elasticsearch.common.inject.internal;
package org.opensearch.common.inject.internal;
import org.opensearch.common.inject.Binder;
import org.opensearch.common.inject.ConfigurationException;

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.elasticsearch.common.inject.internal;
package org.opensearch.common.inject.internal;
import org.opensearch.common.inject.Binding;
import org.opensearch.common.inject.Injector;

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.elasticsearch.common.inject.internal;
package org.opensearch.common.inject.internal;
import org.opensearch.common.inject.Binder;
import org.opensearch.common.inject.Key;

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.elasticsearch.common.inject.internal;
package org.opensearch.common.inject.internal;
import java.lang.reflect.InvocationHandler;
import java.lang.reflect.InvocationTargetException;

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.elasticsearch.common.inject.internal;
package org.opensearch.common.inject.internal;
import org.elasticsearch.common.inject.spi.Message;

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.elasticsearch.common.inject.internal;
package org.opensearch.common.inject.internal;
import org.apache.lucene.util.CollectionUtil;
import org.opensearch.common.inject.ConfigurationException;

View File

@ -15,7 +15,7 @@
*/
package org.elasticsearch.common.inject.internal;
package org.opensearch.common.inject.internal;
/**
* Indicates that a result could not be returned while preparing or resolving a binding. The caller

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.elasticsearch.common.inject.internal;
package org.opensearch.common.inject.internal;
import java.util.Timer;

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.elasticsearch.common.inject.internal;
package org.opensearch.common.inject.internal;
import org.opensearch.common.inject.Binder;
import org.opensearch.common.inject.Injector;

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.elasticsearch.common.inject.internal;
package org.opensearch.common.inject.internal;
import org.opensearch.common.inject.Binder;
import org.opensearch.common.inject.Key;

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.elasticsearch.common.inject.internal;
package org.opensearch.common.inject.internal;
import java.util.concurrent.ConcurrentHashMap;

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.elasticsearch.common.inject.internal;
package org.opensearch.common.inject.internal;
import org.opensearch.common.inject.Binder;
import org.opensearch.common.inject.Injector;

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.elasticsearch.common.inject.internal;
package org.opensearch.common.inject.internal;
import org.elasticsearch.common.inject.spi.Dependency;

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.elasticsearch.common.inject.internal;
package org.opensearch.common.inject.internal;
import org.elasticsearch.common.inject.spi.Dependency;
@ -53,7 +53,7 @@ public interface InternalFactory<T> {
*
* @param context of this injection
* @return instance to be injected
* @throws org.elasticsearch.common.inject.internal.ErrorsException
* @throws ErrorsException
* if a value cannot be provided
*/
T get(Errors errors, InternalContext context, Dependency<?> dependency)

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.elasticsearch.common.inject.internal;
package org.opensearch.common.inject.internal;
import org.opensearch.common.inject.Binder;
import org.opensearch.common.inject.Injector;

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.elasticsearch.common.inject.internal;
package org.opensearch.common.inject.internal;
import org.opensearch.common.inject.Binder;
import org.opensearch.common.inject.Injector;

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.elasticsearch.common.inject.internal;
package org.opensearch.common.inject.internal;
import org.opensearch.common.inject.TypeLiteral;
import org.elasticsearch.common.inject.matcher.Matcher;

View File

@ -15,7 +15,7 @@
*/
package org.elasticsearch.common.inject.internal;
package org.opensearch.common.inject.internal;
import org.opensearch.common.inject.ConfigurationException;
import org.opensearch.common.inject.TypeLiteral;

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.elasticsearch.common.inject.internal;
package org.opensearch.common.inject.internal;
import java.lang.annotation.Annotation;

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.elasticsearch.common.inject.internal;
package org.opensearch.common.inject.internal;
import org.opensearch.common.inject.Binder;
import org.opensearch.common.inject.Injector;

View File

@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
limitations under the License.
*/
package org.elasticsearch.common.inject.internal;
package org.opensearch.common.inject.internal;
import org.opensearch.common.inject.Binder;
import org.opensearch.common.inject.Injector;

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.elasticsearch.common.inject.internal;
package org.opensearch.common.inject.internal;
import org.opensearch.common.inject.Binder;
import org.opensearch.common.inject.Exposed;

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.elasticsearch.common.inject.internal;
package org.opensearch.common.inject.internal;
import org.opensearch.common.inject.Binder;
import org.opensearch.common.inject.Key;

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.elasticsearch.common.inject.internal;
package org.opensearch.common.inject.internal;
import org.opensearch.common.inject.Scope;
import org.opensearch.common.inject.Scopes;

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.elasticsearch.common.inject.internal;
package org.opensearch.common.inject.internal;
import java.util.HashSet;
import java.util.Set;

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.elasticsearch.common.inject.internal;
package org.opensearch.common.inject.internal;
import java.lang.reflect.Constructor;
import java.lang.reflect.Member;

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.elasticsearch.common.inject.internal;
package org.opensearch.common.inject.internal;
import org.elasticsearch.common.unit.TimeValue;

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.elasticsearch.common.inject.internal;
package org.opensearch.common.inject.internal;
/**
* String utilities.

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.elasticsearch.common.inject.internal;
package org.opensearch.common.inject.internal;
import java.util.LinkedHashMap;
import java.util.Map;

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.elasticsearch.common.inject.internal;
package org.opensearch.common.inject.internal;
import org.opensearch.common.inject.BindingAnnotation;

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.elasticsearch.common.inject.internal;
package org.opensearch.common.inject.internal;
import org.opensearch.common.inject.Binder;
import org.opensearch.common.inject.Injector;

View File

@ -18,4 +18,4 @@
* <i>Guice</i> (sounds like like "juice")
*/
package org.elasticsearch.common.inject.internal;
package org.opensearch.common.inject.internal;