1 /* 2 * Copyright (C) 2014 Google, Inc. 3 * 4 * Licensed under the Apache License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * http://www.apache.org/licenses/LICENSE-2.0 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 * See the License for the specific language governing permissions and 14 * limitations under the License. 15 */ 16 package test; 17 18 import dagger.Component; 19 import dagger.Lazy; 20 import dagger.MembersInjector; 21 import javax.inject.Provider; 22 23 @Component(modules = PrimitivesModule.class) 24 interface BasicComponent extends Injector<Thing> { getByte()25 byte getByte(); getChar()26 char getChar(); getShort()27 short getShort(); getInt()28 int getInt(); getLong()29 long getLong(); getBoolean()30 boolean getBoolean(); getFloat()31 float getFloat(); getDouble()32 double getDouble(); 33 getBoxedByte()34 Byte getBoxedByte(); getBoxedChar()35 Character getBoxedChar(); getBoxedShort()36 Short getBoxedShort(); getBoxedInt()37 Integer getBoxedInt(); getBoxedLong()38 Long getBoxedLong(); getBoxedBoolean()39 Boolean getBoxedBoolean(); getBoxedFloat()40 Float getBoxedFloat(); getBoxedDouble()41 Double getBoxedDouble(); 42 getByteProvider()43 Provider<Byte> getByteProvider(); getCharProvider()44 Provider<Character> getCharProvider(); getShortProvider()45 Provider<Short> getShortProvider(); getIntProvider()46 Provider<Integer> getIntProvider(); getLongProvider()47 Provider<Long> getLongProvider(); getBooleanProvider()48 Provider<Boolean> getBooleanProvider(); getFloatProvider()49 Provider<Float> getFloatProvider(); getDoubleProvider()50 Provider<Double> getDoubleProvider(); 51 getByteArray()52 byte[] getByteArray(); getCharArray()53 char[] getCharArray(); getShortArray()54 short[] getShortArray(); getIntArray()55 int[] getIntArray(); getLongArray()56 long[] getLongArray(); getBooleanArray()57 boolean[] getBooleanArray(); getFloatArray()58 float[] getFloatArray(); getDoubleArray()59 double[] getDoubleArray(); 60 getByteArrayProvider()61 Provider<byte[]> getByteArrayProvider(); getCharArrayProvider()62 Provider<char[]> getCharArrayProvider(); getShortArrayProvider()63 Provider<short[]> getShortArrayProvider(); getIntArrayProvider()64 Provider<int[]> getIntArrayProvider(); getLongArrayProvider()65 Provider<long[]> getLongArrayProvider(); getBooleanArrayProvider()66 Provider<boolean[]> getBooleanArrayProvider(); getFloatArrayProvider()67 Provider<float[]> getFloatArrayProvider(); getDoubleArrayProvider()68 Provider<double[]> getDoubleArrayProvider(); 69 noOpMembersInjection(Object obviouslyDoesNotHaveMembersToInject)70 Object noOpMembersInjection(Object obviouslyDoesNotHaveMembersToInject); 71 thing()72 Thing thing(); injectedThing()73 InjectedThing injectedThing(); injectedThingProvider()74 Provider<InjectedThing> injectedThingProvider(); lazyInjectedThing()75 Lazy<InjectedThing> lazyInjectedThing(); injectedThingMembersInjector()76 MembersInjector<InjectedThing> injectedThingMembersInjector(); 77 typeWithInheritedMembersInjection()78 TypeWithInheritedMembersInjection typeWithInheritedMembersInjection(); 79 MembersInjector<TypeWithInheritedMembersInjection> typeWithInheritedMembersInjectionMembersInjector()80 typeWithInheritedMembersInjectionMembersInjector(); 81 } 82