HomeSort by relevance Sort by last modified time
    Searched refs:constructor (Results 226 - 250 of 1680) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /libcore/luni/src/test/java/libcore/java/lang/reflect/parameter/
ParameterMetadataTestClasses$NonVarArgs.smali 35 .method constructor <init>([Ljava/lang/Integer;)V
ParameterMetadataTestClasses$SingleParameter.smali 35 .method constructor <init>(Ljava/lang/String;)V
ParameterMetadataTestClasses$SingleVarArgs.smali 35 .method varargs constructor <init>([Ljava/lang/String;)V
ParameterMetadataTestClasses$InnerClass.smali 39 .method public constructor <init>(Llibcore/java/lang/reflect/parameter/ParameterMetadataTestClasses;)V
60 .method public constructor <init>(Llibcore/java/lang/reflect/parameter/ParameterMetadataTestClasses;Ljava/lang/String;)V
80 .method public constructor <init>(Llibcore/java/lang/reflect/parameter/ParameterMetadataTestClasses;Ljava/util/function/Function;)V
  /external/guice/core/src/com/google/inject/internal/
BindingBuilder.java 34 import java.lang.reflect.Constructor;
143 public <S extends T> ScopedBindingBuilder toConstructor(Constructor<S> constructor) {
144 return toConstructor(constructor, TypeLiteral.get(constructor.getDeclaringClass()));
147 public <S extends T> ScopedBindingBuilder toConstructor(Constructor<S> constructor,
149 checkNotNull(constructor, "constructor");
164 InjectionPoint constructorPoint = InjectionPoint.forConstructor(constructor, type)
    [all...]
ProxyFactory.java 37 import java.lang.reflect.Constructor;
70 @SuppressWarnings("unchecked") // the member of injectionPoint is always a Constructor<T>
71 Constructor<T> constructor = (Constructor<T>) injectionPoint.getMember(); local
72 declaringClass = constructor.getDeclaringClass();
243 final Constructor<T> constructor; field in class:ProxyFactory.ProxyConstructor
249 @SuppressWarnings("unchecked") // the constructor promises to construct 'T's
254 this.constructor = (Constructor<T>) injectionPoint.getMember()
    [all...]
  /external/guice/core/test/com/google/inject/internal/
ProxyFactoryTest.java 139 ConstructionProxy<A> constructor = factory.create(); local
141 A a = constructor.newInstance(5);
154 ConstructionProxy<A> constructor = factory.create(); local
156 A a = constructor.newInstance(5);
177 ConstructionProxy<Counter> constructor = factory.create(); local
179 Counter counter = constructor.newInstance();
  /frameworks/support/v7/preference/src/android/support/v7/preference/
PreferenceInflater.java 32 import java.lang.reflect.Constructor;
45 private static final HashMap<String, Constructor> CONSTRUCTOR_MAP = new HashMap<>();
214 Constructor constructor = CONSTRUCTOR_MAP.get(name); local
217 if (constructor == null) {
244 constructor = clazz.getConstructor(CONSTRUCTOR_SIGNATURE);
245 constructor.setAccessible(true);
246 CONSTRUCTOR_MAP.put(name, constructor);
251 return (Preference) constructor.newInstance(args);
  /prebuilts/tools/common/m2/repository/com/squareup/burst/burst-junit4/1.1.0/
burst-junit4-1.1.0.jar 
  /prebuilts/tools/common/fest/
fest-reflect-1.2.jar 
  /frameworks/base/core/java/android/preference/
GenericInflater.java 20 import java.lang.reflect.Constructor;
370 Constructor constructor = (Constructor) sConstructorMap.get(name); local
373 if (null == constructor) {
378 constructor = clazz.getConstructor(mConstructorSignature);
379 constructor.setAccessible(true);
380 sConstructorMap.put(name, constructor);
385 return (T) constructor.newInstance(args);
402 + constructor.getClass().getName())
    [all...]
  /external/guice/extensions/mini/src/com/google/inject/mini/
MiniGuice.java 19 import java.lang.reflect.Constructor;
62 * <li>Constructor injection. A class may have a single {@code
63 * @Inject}-annotated constructor. Classes that have fields injected
65 * no-arguments constructor.
68 * <li>Constructor-injected classes annotated {@code @Singleton}.
206 * constructor, use a default constructor if the class has other injections.
208 Constructor<?> injectedConstructor = null;
209 for (Constructor<?> constructor : type.getDeclaredConstructors())
235 final Constructor<?> constructor = injectedConstructor; local
    [all...]
  /external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue82/
PropOrderInfluenceWhenAliasedInGenericCollectionTest.java 29 import org.yaml.snakeyaml.constructor.Constructor;
156 Constructor constructor = new Constructor(); local
159 constructor
163 Yaml yaml = new Yaml(constructor, representer);
185 Constructor constructor = new Constructor(); local
210 Constructor constructor = new Constructor(); local
    [all...]
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
test_StringIO.py 16 # Constructor to use for the test data (._line is passed to this
17 # constructor)
18 constructor = str variable in class:TestGenericStringIO
21 self._line = self.constructor(self._line)
22 self._lines = self.constructor((self._line + '\n') * 5)
137 constructor = buffer variable in class:TestBufferStringIO
140 constructor = buffer variable in class:TestBuffercStringIO
  /external/guice/extensions/assistedinject/src/com/google/inject/assistedinject/
FactoryProvider2.java 60 import java.lang.reflect.Constructor;
119 /** the constructor the implementation is constructed with. */
120 final Constructor<?> constructor; field in class:FactoryProvider2.AssistData
121 /** the return type in the factory method that the constructor is bound to. */
140 AssistData(Constructor<?> constructor, Key<?> returnType, ImmutableList<Key<?>> paramTypes,
144 this.constructor = constructor;
157 .add("ctor", constructor)
293 Constructor<?> constructor = (Constructor<?>) ctorInjectionPoint.getMember(); local
    [all...]
  /external/junit/src/main/java/junit/framework/
TestSuite.java 5 import java.lang.reflect.Constructor;
28 * TestSuite constructor.
33 * This constructor creates a suite with all the methods
51 Constructor<?> constructor; local
53 constructor = getTestConstructor(theClass);
55 return warning("Class " + theClass.getName() + " has no public constructor TestCase(String name) or TestCase()");
59 if (constructor.getParameterTypes().length == 0) {
60 test = constructor.newInstance(new Object[0]);
65 test = constructor.newInstance(new Object[]{name})
    [all...]
  /frameworks/base/legacy-test/src/junit/framework/
TestSuite.java 5 import java.lang.reflect.Constructor;
27 * TestSuite constructor.
33 * <p>This constructor creates a suite with all the methods
52 Constructor<?> constructor; local
54 constructor= getTestConstructor(theClass);
56 return warning("Class "+theClass.getName()+" has no public constructor TestCase(String name) or TestCase()");
60 if (constructor.getParameterTypes().length == 0) {
61 test= constructor.newInstance(new Object[0]);
65 test= constructor.newInstance(new Object[]{name})
    [all...]
  /external/doclava/src/com/google/doclava/
FederationTagger.java 130 for (MethodInfo constructor : localClass.constructors()) {
131 if (federatedClass.hasConstructor(constructor)) {
132 constructor.addFederatedReference(site);
  /external/junit/src/main/java/org/junit/experimental/theories/
ParameterSignature.java 4 import java.lang.reflect.Constructor;
42 public static List<ParameterSignature> signatures(Constructor<?> constructor) {
43 return signatures(constructor.getParameterTypes(), constructor
  /external/junit/src/main/java/org/junit/experimental/theories/internal/
Assignments.java 5 import java.lang.reflect.Constructor;
113 Constructor<?>[] supplierConstructors = cls.getConstructors();
115 for (Constructor<?> constructor : supplierConstructors) {
116 Class<?>[] parameterTypes = constructor.getParameterTypes();
119 return (ParameterSupplier) constructor.newInstance(clazz);
  /external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue56/
PerlTest.java 27 import org.yaml.snakeyaml.constructor.Construct;
28 import org.yaml.snakeyaml.constructor.Constructor;
29 import org.yaml.snakeyaml.constructor.SafeConstructor;
71 Constructor c = new CustomBeanConstructor();
91 Constructor c = new CustomBeanConstructor();
106 private class CustomBeanConstructor extends Constructor {
  /external/v8/src/
type-info.h 63 Object* constructor = map->GetConstructor(); local
64 return !constructor->IsJSFunction() ||
65 JSFunction::cast(constructor)->context()->native_context() ==
  /frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
TelephonyTestUtils.java 24 import java.lang.reflect.Constructor;
37 * This function calls constructor that takes in params.
50 Constructor constructor = clazz.getDeclaredConstructor(paramType); local
51 constructor.setAccessible(true);
53 return constructor.newInstance(params);
  /external/autotest/client/common_lib/hosts/
repair.py 56 The `failures` argument to the constructor for this class is a set
67 @property failures Set of failures passed to the constructor.
73 Constructor for `AutoservVerifyDependencyError`.
544 the passed to the `RepairStrategy` constructor. That argument is an
546 `(constructor, tag, deps)`:
547 * The `constructor` value is a callable that creates a `Verifier`
548 as for the interface of the class constructor. For classes
549 that inherit the default constructor from `Verifier`, this can
561 In the input data for the constructor, dependencies must appear
591 passed to the passed to the `RepairStrategy` constructor. Tha
    [all...]
  /frameworks/base/core/java/android/transition/
TransitionInflater.java 36 import java.lang.reflect.Constructor;
51 private final static ArrayMap<String, Constructor> sConstructors =
52 new ArrayMap<String, Constructor>();
208 Constructor constructor = sConstructors.get(className); local
209 if (constructor == null) {
213 constructor = c.getConstructor(sConstructorSignature);
214 constructor.setAccessible(true);
215 sConstructors.put(className, constructor);
218 return constructor.newInstance(mContext, attrs)
    [all...]

Completed in 1422 milliseconds

1 2 3 4 5 6 7 8 91011>>