HomeSort by relevance Sort by last modified time
    Searched defs:injectionPoint (Results 1 - 16 of 16) sorted by null

  /external/guice/extensions/grapher/src/com/google/inject/grapher/
DefaultNodeCreator.java 26 import com.google.inject.spi.InjectionPoint;
84 InjectionPoint injectionPoint = dependency.getInjectionPoint();
86 if (injectionPoint != null) {
87 members.add(injectionPoint.getMember());
101 for (InjectionPoint injectionPoint : binding.getInjectableMembers()) {
102 members.add(injectionPoint.getMember());
DependencyEdge.java 20 import com.google.inject.spi.InjectionPoint;
23 * Edge from a class or {@link InjectionPoint} to the interface node that will satisfy the
34 private final InjectionPoint injectionPoint;
36 public DependencyEdge(NodeId fromId, NodeId toId, InjectionPoint injectionPoint) {
38 this.injectionPoint = injectionPoint;
41 public InjectionPoint getInjectionPoint() {
42 return injectionPoint;
    [all...]
  /external/guice/core/src/com/google/inject/spi/
Dependency.java 33 * <p>Use {@link #get} to build a freestanding dependency, or {@link InjectionPoint} to build one
41 private final InjectionPoint injectionPoint;
46 Dependency(InjectionPoint injectionPoint, Key<T> key, boolean nullable, int parameterIndex) {
47 this.injectionPoint = injectionPoint;
64 public static Set<Dependency<?>> forInjectionPoints(Set<InjectionPoint> injectionPoints) {
66 for (InjectionPoint injectionPoint : injectionPoints)
    [all...]
  /external/guice/core/src/com/google/inject/internal/
DefaultConstructionProxyFactory.java 21 import com.google.inject.spi.InjectionPoint;
36 private final InjectionPoint injectionPoint;
39 * @param injectionPoint an injection point whose member is a constructor of {@code T}.
41 DefaultConstructionProxyFactory(InjectionPoint injectionPoint) {
42 this.injectionPoint = injectionPoint;
47 final Constructor<T> constructor = (Constructor<T>) injectionPoint.getMember();
63 public InjectionPoint getInjectionPoint()
    [all...]
SingleFieldInjector.java 21 import com.google.inject.spi.InjectionPoint;
30 final InjectionPoint injectionPoint;
34 public SingleFieldInjector(InjectorImpl injector, InjectionPoint injectionPoint, Errors errors)
36 this.injectionPoint = injectionPoint;
37 this.field = (Field) injectionPoint.getMember();
38 this.dependency = injectionPoint.getDependencies().get(0);
45 public InjectionPoint getInjectionPoint()
    [all...]
SingleMethodInjector.java 21 import com.google.inject.spi.InjectionPoint;
33 private final InjectionPoint injectionPoint;
35 SingleMethodInjector(InjectorImpl injector, InjectionPoint injectionPoint, Errors errors)
37 this.injectionPoint = injectionPoint;
38 final Method method = (Method) injectionPoint.getMember();
40 parameterInjectors = injector.getParametersInjectors(injectionPoint.getDependencies(), errors);
77 public InjectionPoint getInjectionPoint()
    [all...]
InjectorShell.java 37 import com.google.inject.spi.InjectionPoint;
225 ImmutableSet.<InjectionPoint>of()));
259 loggerFactory, ImmutableSet.<InjectionPoint>of()));
264 InjectionPoint injectionPoint = dependency.getInjectionPoint();
265 return injectionPoint == null
267 : Logger.getLogger(injectionPoint.getMember().getDeclaringClass().getName());
286 ImmutableSet.<InjectionPoint>of(),
ProxyFactory.java 26 import com.google.inject.spi.InjectionPoint;
55 private final InjectionPoint injectionPoint;
67 ProxyFactory(InjectionPoint injectionPoint, Iterable<MethodAspect> methodAspects) {
68 this.injectionPoint = injectionPoint;
70 @SuppressWarnings("unchecked") // the member of injectionPoint is always a Constructor<T>
71 Constructor<T> constructor = (Constructor<T>) injectionPoint.getMember();
159 return new DefaultConstructionProxyFactory<T>(injectionPoint).create()
    [all...]
  /external/guice/core/test/com/google/inject/spi/
InjectionPointTest.java 34 import com.google.inject.spi.InjectionPoint.Signature;
63 InjectionPoint injectionPoint = new InjectionPoint(typeLiteral, fooField, false);
64 assertSame(fooField, injectionPoint.getMember());
65 assertFalse(injectionPoint.isOptional());
66 assertEquals(getClass().getName() + ".foo", injectionPoint.toString());
67 assertEqualsBothWays(injectionPoint, new InjectionPoint(typeLiteral, fooField, false));
68 assertNotSerializable(injectionPoint);
    [all...]
  /external/guice/core/test/com/google/inject/internal/
ProxyFactoryTest.java 26 import com.google.inject.spi.InjectionPoint;
48 InjectionPoint injectionPoint = InjectionPoint.forConstructorOf(Simple.class);
51 ProxyFactory<Simple> factory = new ProxyFactory<Simple>(injectionPoint, aspects);
85 = new ProxyFactory<Foo>(InjectionPoint.forConstructorOf(Foo.class), aspects).create();
87 = new ProxyFactory<Bar>(InjectionPoint.forConstructorOf(Bar.class), aspects).create();
137 = new ProxyFactory<A>(InjectionPoint.forConstructorOf(A.class), aspects);
152 = new ProxyFactory<A>(InjectionPoint.forConstructorOf(A.class), aspects);
175 = new ProxyFactory<Counter>(InjectionPoint.forConstructorOf(Counter.class), aspects)
    [all...]
  /prebuilts/eclipse/maven/apache-maven-3.2.1/lib/
sisu-guice-3.1.3-no_aop.jar 
  /prebuilts/tools/common/m2/repository/org/sonatype/sisu/sisu-guice/3.1.0/
sisu-guice-3.1.0-no_aop.jar 
sisu-guice-3.1.0.jar 
  /external/testng/lib-supplied/
guice-2.0.jar 
  /prebuilts/eclipse/mavenplugins/tycho/tycho-dependencies-m2repo/org/sonatype/sisu/sisu-guice/2.1.7/
sisu-guice-2.1.7-noaop.jar 
  /prebuilts/tools/common/m2/repository/org/sonatype/sisu/sisu-guice/2.1.7/
sisu-guice-2.1.7-noaop.jar 

Completed in 72 milliseconds