| /libcore/luni/src/main/java/libcore/reflect/ |
| GenericSignatureParser.java | 19 import java.lang.reflect.Constructor; 178 * Parses the generic signature of a constructor and creates the data 190 Constructor c = (Constructor) genericDecl;
|
| /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/compat/ |
| CompatUtils.java | 22 import java.lang.reflect.Constructor; 67 public static Constructor<?> getConstructor(final Class<?> targetClass, 80 public static Object newInstance(final Constructor<?> constructor, final Object ... args) { 81 if (constructor == null) { 85 return constructor.newInstance(args);
|
| /external/robolectric/src/main/java/com/xtremelabs/robolectric/res/ |
| ViewLoader.java | 21 import java.lang.reflect.Constructor; 214 Fragment fragment = ((Constructor<? extends Fragment>) clazz.getConstructor()).newInstance(); 249 return ((Constructor<? extends View>) clazz.getConstructor(Context.class, AttributeSet.class)).newInstance(context, attributeSet); 252 return ((Constructor<? extends View>) clazz.getConstructor(Context.class)).newInstance(context); 254 return ((Constructor<? extends View>) clazz.getConstructor(Context.class, String.class)).newInstance(context, "");
|
| /external/antlr/antlr-3.4/gunit/src/main/java/org/antlr/gunit/ |
| gUnitBaseTest.java | 41 import java.lang.reflect.Constructor; 87 Constructor lexConstructor = lexer.getConstructor(lexArgTypes); 181 Constructor lexConstructor = lexer.getConstructor(lexArgTypes); 189 Constructor parConstructor = parser.getConstructor(parArgTypes); 326 Constructor lexConstructor = lexer.getConstructor(lexArgTypes); 334 Constructor parConstructor = parser.getConstructor(parArgTypes); 379 Constructor treeParConstructor = treeParser.getConstructor(treeParArgTypes);
|
| /external/nist-sip/java/gov/nist/javax/sip/ |
| SipStackImpl.java | 47 import java.lang.reflect.Constructor; 113 * log stream. The log factory must have a default constructor.</li> 143 * a no arg constructor. This allows to use different logging implementations 151 * a no arg constructor. This allows to use different logging implementations 525 * Constructor for the stack. 564 Constructor<?> cons = stackLoggerClass 574 + "- check that it is present on the classpath and that there is a no-args constructor defined", 580 + "- check that it is present on the classpath and that there is a no-args constructor defined", 593 Constructor<?> cons = serverLoggerClass 603 + "- check that it is present on the classpath and that there is a no-args constructor defined" [all...] |
| /external/clang/lib/Sema/ |
| SemaInit.cpp | 380 // libstdc++4.6 marks the vector default constructor as explicit in 505 // Empty initialization requires a constructor call, so 506 // extend the initializer list to include the constructor 620 // Empty initialization requires a constructor call, so 621 // extend the initializer list to include the constructor [all...] |
| SemaDeclCXX.cpp | 753 // constructor definition. If so, return true. If not, produce appropriate 761 // The definition of a constexpr constructor shall satisfy the following [all...] |
| /external/smack/src/org/jivesoftware/smack/ |
| SASLAuthentication.java.orig | 32 import java.lang.reflect.Constructor;
232 Constructor<? extends SASLMechanism> constructor = mechanismClass.getConstructor(SASLAuthentication.class);
233 currentMechanism = constructor.newInstance(this);
314 Constructor<? extends SASLMechanism> constructor = mechanismClass.getConstructor(SASLAuthentication.class);
315 currentMechanism = constructor.newInstance(this);
|
| /frameworks/base/core/java/android/preference/ |
| GenericInflater.java | 20 import java.lang.reflect.Constructor; 369 Constructor constructor = (Constructor) sConstructorMap.get(name); local 372 if (null == constructor) { 377 constructor = clazz.getConstructor(mConstructorSignature); 378 sConstructorMap.put(name, constructor); 383 return (T) constructor.newInstance(args); 400 + constructor.getClass().getName());
|
| /cts/suite/cts/deviceTests/browserbench/assets/octane/js/ |
| bootstrap-collapse.js | 42 constructor: Collapse 140 $.fn.collapse.Constructor = Collapse
|
| /external/chromium_org/third_party/WebKit/Source/core/html/ |
| LinkRelAttributeTest.cpp | 70 TEST_F(LinkRelAttributeTest, Constructor)
|
| /external/chromium_org/third_party/webrtc/modules/video_coding/codecs/test/ |
| packet_manipulator_unittest.cc | 73 TEST_F(PacketManipulatorTest, Constructor) {
|
| /external/chromium_org/ui/ozone/ |
| generate_constructor_list.py | 6 """Code generator for PlatformObject<> constructor list. 57 """Determine typedef name of constructor for typename. 59 This is just typename + "Constructor". 62 return typename + 'Constructor' 66 """Determine name of static constructor function from platform name. 91 # Declarations of constructor functions. 94 constructor = GetConstructorName(typename, platform) 95 out.write('%(typename)s* %(constructor)s();\n' 97 'constructor': constructor}) [all...] |
| /external/clang/lib/AST/ |
| DeclCXX.cpp | 216 // The implicitly-declared copy constructor for a class X will have 218 // has a copy constructor whose first parameter is of type 237 // A [default constructor, copy/move constructor, or copy/move assignment 248 // In the definition of a constexpr constructor [...] 253 // A default constructor is trivial [...] if: 260 // A copy/move constructor for class X is trivial if [...] 262 // -- the constructor selected to copy/move each direct base class 266 // If the base class doesn't have a simple move constructor, we'll eagerly 268 // it actually calls. If it does have a simple move constructor, thi [all...] |
| /external/mockito/cglib-and-asm/src/org/mockito/cglib/reflect/ |
| ConstructorDelegate.java | 83 final Constructor constructor; local 85 constructor = targetClass.getDeclaredConstructor(newInstance.getParameterTypes()); 87 throw new IllegalArgumentException("interface does not match any known constructor"); 97 Type declaring = Type.getType(constructor.getDeclaringClass()); 105 e.invoke_constructor(declaring, ReflectUtils.getSignature(constructor));
|
| /external/robolectric/src/main/java/com/xtremelabs/robolectric/bytecode/ |
| ShadowWrangler.java | 14 import java.lang.reflect.Constructor; 171 Constructor<?> constructor = findConstructor(instance, shadowClass); local 172 if (constructor != null) { 173 shadow = constructor.newInstance(instance); 226 private Constructor<?> findConstructor(Object instance, Class<?> shadowClass) { 229 Constructor constructor; local 230 for (constructor = null; constructor == null && clazz != null; clazz = clazz.getSuperclass()) [all...] |
| /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ |
| ClassTest.java | 24 import java.lang.reflect.Constructor; 229 fail("Found private constructor"); 231 // Correct - constructor with obj is private 239 Constructor[] c = TestClass.class.getConstructors(); 254 Constructor<TestClass> c = TestClass.class.getDeclaredConstructor(new Class[0]); 255 assertNull("Incorrect constructor returned", c.newInstance().cValue()); 263 Constructor[] c = TestClass.class.getDeclaredConstructors(); 539 fail("Exception for instantiating a newInstance with no default constructor is not thrown");
|
| /external/guava/guava/src/com/google/common/util/concurrent/ |
| Futures.java | 37 import java.lang.reflect.Constructor; [all...] |
| /libcore/luni/src/main/java/java/io/ |
| ObjectStreamClass.java | 21 import java.lang.reflect.Constructor; 177 // MethodID for deserialization constructor 178 private transient long constructor = CONSTRUCTOR_IS_NOT_RESOLVED; field in class:ObjectStreamClass 181 constructor = newConstructor; 185 return constructor; 527 // Constructor information 528 Constructor<?>[] constructors = cl.getDeclaredConstructors(); 532 Comparator<Constructor<?>> constructorComparator = new Comparator<Constructor<?>>() { 533 public int compare(Constructor<?> ctr1, Constructor<?> ctr2) 545 Constructor<?> constructor = constructors[i]; local 701 Constructor<?> constructor = null; local [all...] |
| /art/test/005-annotations/src/android/test/anno/ |
| TestAnnotations.java | 4 import java.lang.reflect.Constructor; 38 for (Constructor c: clazz.getDeclaredConstructors()) { 43 System.out.println(" constructor parameter annotations:");
|
| /cts/tools/signature-tools/test/signature/converter/doclet/ |
| DocletTestConverter.java | 24 import java.lang.reflect.Constructor;
159 Constructor<Messager> c;
|
| /external/chromium_org/v8/test/webkit/ |
| preventExtensions.js | 108 function Constructor() {} 109 Constructor.prototype.foo = 1; 110 Object.freeze(Constructor.prototype); 111 var obj = new Constructor();
|
| /external/mp4parser/isoparser/src/main/java/com/coremedia/iso/ |
| PropertyBoxParserImpl.java | 24 import java.lang.reflect.Constructor; 118 Constructor<AbstractBox> constructorObject; 165 String constructor; local 170 constructor = mapping.getProperty((parent) + "-uuid[" + Hex.encodeHex(userType).toUpperCase() + "]"); 171 if (constructor == null) { 172 constructor = mapping.getProperty("uuid[" + Hex.encodeHex(userType).toUpperCase() + "]"); 174 if (constructor == null) { 175 constructor = mapping.getProperty("uuid"); 178 constructor = mapping.getProperty((parent) + "-" + (type)); 179 if (constructor == null) [all...] |
| /external/robolectric/src/test/java/com/xtremelabs/robolectric/bytecode/ |
| AndroidTranslatorTest.java | 21 import java.lang.reflect.Constructor; 73 Constructor<ClassWithNoDefaultConstructor> ctor = ClassWithNoDefaultConstructor.class.getDeclaredConstructor();
|
| /frameworks/base/tools/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/setup/ |
| LayoutLibTestCallback.java | 35 import java.lang.reflect.Constructor; 128 Constructor<?> viewConstructor = viewClass.getConstructor(constructorSignature);
|