HomeSort by relevance Sort by last modified time
    Searched refs:Constructor (Results 26 - 50 of 389) sorted by null

12 3 4 5 6 7 8 91011>>

  /external/chromium_org/third_party/WebKit/Source/modules/encoding/
TextDecoder.idl 34 Constructor(optional DOMString label = "utf-8", optional TextDecoderOptions options),
35 RaisesException=Constructor,
  /external/chromium_org/third_party/WebKit/Source/core/dom/
DOMError.idl 29 Constructor(DOMString name, optional DOMString message = null),
Text.idl 20 Constructor(optional DOMString data = ""),
  /external/mockito/cglib-and-asm/src/org/mockito/cglib/core/
MethodInfoTransformer.java 31 } else if (value instanceof Constructor) {
32 return ReflectUtils.getMethodInfo((Constructor)value);
  /external/objenesis/main/src/org/objenesis/instantiator/basic/
ConstructorInstantiator.java 18 import java.lang.reflect.Constructor;
24 * Instantiates a class by grabbing the no args constructor and calling Constructor.newInstance().
32 protected Constructor constructor; field in class:ConstructorInstantiator
36 constructor = type.getDeclaredConstructor((Class[]) null);
45 return constructor.newInstance((Object[]) null);
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/reflect/
MalformedParameterizedTypeExceptionTests.java 3 import java.lang.reflect.Constructor;
13 Constructor<MalformedParameterizedTypeException> ctor = MalformedParameterizedTypeException.class
15 assertNotNull("Parameterless constructor does not exist.", ctor);
16 assertTrue("Constructor is not protected", Modifier.isPublic(ctor
ConstructorTest.java 25 import java.lang.reflect.Constructor;
36 @Target( {ElementType.CONSTRUCTOR, ElementType.PARAMETER})
41 @Target( {ElementType.CONSTRUCTOR, ElementType.PARAMETER})
46 @Target( {ElementType.CONSTRUCTOR, ElementType.PARAMETER})
51 @Target( {ElementType.CONSTRUCTOR, ElementType.PARAMETER})
93 // This class has no public constructor.
96 // Used to test synthetic constructor.
106 Constructor<ConstructorTestHelper> ctor1 = ConstructorTestHelper.class
126 Constructor<ConstructorTestHelper> ctor1 = null;
142 Constructor<ConstructorTestHelper> varArgCtor = ConstructorTestHelper.clas
153 Constructor<ConstructorTestHelper> constructor = ConstructorTestHelper.class local
326 Constructor<GenericConstructorTestHelper> constructor = GenericConstructorTestHelper.class local
357 Constructor<GenericConstructorTestHelper> constructor = GenericConstructorTestHelper.class local
    [all...]
  /libcore/luni/src/test/java/libcore/java/lang/reflect/
ConstructorTest.java 19 import java.lang.reflect.Constructor;
24 Constructor<?> constructor = ConstructorTestHelper.class.getConstructor(new Class[0]); local
25 Class[] exceptions = constructor.getExceptionTypes();
30 exceptions = constructor.getExceptionTypes();
37 Constructor<?> constructor = ConstructorTestHelper.class.getConstructor(expectedParameters); local
38 Class[] parameters = constructor.getParameterTypes();
43 parameters = constructor.getParameterTypes();
49 Constructor<?> constructor = ConstructorTestHelper.class.getConstructor((Class[]) null) local
70 Constructor<?> constructor = ConstructorTestHelper.class.getDeclaredConstructor( local
    [all...]
  /external/objenesis/main/src/org/objenesis/instantiator/jrockit/
JRockit131Instantiator.java 15 import java.lang.reflect.Constructor;
31 private Constructor mungedConstructor;
41 "newConstructorForSerialization", new Class[] {Constructor.class, Class.class});
61 Constructor javaLangObjectConstructor;
67 throw new Error("Cannot find constructor for java.lang.Object!");
71 mungedConstructor = (Constructor) newConstructorForSerializationMethod.invoke(null,
  /external/objenesis/main/src/org/objenesis/instantiator/sun/
SunReflectionFactoryHelper.java 18 import java.lang.reflect.Constructor;
34 public static Constructor newConstructorForSerialization(Class type, Constructor constructor) {
42 return (Constructor) newConstructorForSerializationMethod.invoke(
43 reflectionFactory, new Object[] {type, constructor});
88 "newConstructorForSerialization", new Class[] {Class.class, Constructor.class});
SunReflectionFactorySerializationInstantiator.java 19 import java.lang.reflect.Constructor;
29 * constructor. This is the best way to instantiate an object without any side effects caused by the
30 * constructor - however it is not available on every platform.
37 private final Constructor mungedConstructor;
42 Constructor nonSerializableAncestorConstructor;
48 throw new ObjenesisException(new NotSerializableException(type+" has no suitable superclass constructor"));
  /prebuilts/misc/common/swig/include/2.0.11/octave/
octcomplex.swg 4 the complex Constructor method, and the Real and Imag complex
23 %define %swig_cplxdbl_conv(Type, Constructor, Real, Imag)
33 *val=Constructor(c.real(),c.imag());
41 *val = Constructor(d, 0.0);
52 %define %swig_cplxflt_conv(Type, Constructor, Real, Imag)
65 *val = Constructor(%numeric_cast(re, float),
76 *val = Constructor(d, 0.0);
87 #define %swig_cplxflt_convn(Type, Constructor, Real, Imag) \
88 %swig_cplxflt_conv(Type, Constructor, Real, Imag)
91 #define %swig_cplxdbl_convn(Type, Constructor, Real, Imag)
    [all...]
  /external/chromium_org/third_party/WebKit/Source/modules/mediastream/
MediaStream.idl 29 Constructor,
30 Constructor(MediaStream stream),
31 Constructor(MediaStreamTrack[] tracks),
  /external/chromium_org/third_party/WebKit/Source/bindings/tests/idls/core/
TestNode.idl 22 Constructor,
TestInterfaceNamedConstructor.idl 39 RaisesException=Constructor,
  /external/chromium_org/third_party/WebKit/Source/core/html/
FormData.idl 34 Constructor(optional HTMLFormElement form),
  /external/chromium_org/third_party/WebKit/Source/modules/speech/
SpeechGrammarList.idl 29 Constructor
  /libcore/dom/src/test/java/org/w3c/domts/
XalanDOMTestDocumentBuilderFactory.java 29 import java.lang.reflect.Constructor;
46 * factory will be mutated in constructor and should be released
71 Constructor constructor = xpathClass.getConstructor(new Class[] {Document.class}); local
72 return constructor.newInstance(new Object[] {doc});
  /external/chromium_org/v8/test/webkit/
instance-of-immediates.js 24 description('This test makes sure that instance of behaves correctly when the value, constructor, or its prototype are immediates.');
26 // A Constructor to use check for instances of, and an instance called obj.
27 function Constructor() {}
28 var obj = new Constructor();
30 // Run a batch of tests; call'testInstanceOf' three times, passing 1, {}, and the object 'obj', which is an instance of Constructor.
31 function testSet(constructor, testMethod)
33 testMethod["1"]("(1 instanceof " + constructor + ")");
34 testMethod["{}"]("({} instanceof " + constructor + ")");
35 testMethod["obj"]("(obj instanceof " + constructor + ")");
38 // Test set 1, test passing the integer 1 as the constructor to be tested for
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/page/
EventSource.idl 35 Constructor(DOMString url, optional EventSourceInit eventSourceInit),
38 RaisesException=Constructor,
  /prebuilts/misc/common/swig/include/2.0.11/ruby/
rubycomplex.swg 4 the complex Constructor method, and the Real and Imag complex
69 %define %swig_cplxdbl_conv(Type, Constructor, Real, Imag)
85 *val = Constructor(re, im);
92 if (val) *val = Constructor(d, 0.0);
103 %define %swig_cplxflt_conv(Type, Constructor, Real, Imag)
120 if (val) *val = Constructor(%numeric_cast(re, float),
130 if (val) *val = Constructor(re, 0.0);
141 #define %swig_cplxflt_convn(Type, Constructor, Real, Imag) \
142 %swig_cplxflt_conv(Type, Constructor, Real, Imag)
145 #define %swig_cplxdbl_convn(Type, Constructor, Real, Imag)
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/css/
FontFace.idl 43 Constructor(DOMString family, DOMString source, optional FontFaceDescriptors descriptors),
44 Constructor(DOMString family, ArrayBuffer source, optional FontFaceDescriptors descriptors),
45 Constructor(DOMString family, ArrayBufferView source, optional FontFaceDescriptors descriptors),
  /external/chromium_org/third_party/WebKit/Source/modules/websockets/
WebSocket.idl 41 Constructor(DOMString url, optional DOMString protocol),
42 Constructor(DOMString url, sequence<DOMString> protocols),
45 RaisesException=Constructor,
  /external/objenesis/tck/src/org/objenesis/tck/candidates/
serializable-candidates.properties 54 # Different visibilities of constructor.
55 org.objenesis.tck.candidates.SerializableNoConstructor = No constructor (serializable)
56 org.objenesis.tck.candidates.SerializableDefaultPublicConstructor = Default public constructor (serializable)
57 org.objenesis.tck.candidates.SerializableDefaultProtectedConstructor = Default protected constructor (serializable)
58 org.objenesis.tck.candidates.SerializableDefaultPackageConstructor = Default package constructor (serializable)
59 org.objenesis.tck.candidates.SerializableDefaultPrivateConstructor = Default private constructor (serializable)
64 org.objenesis.tck.candidates.SerializableConstructorThrowingException = Constructor throwing exception (serializable)
65 org.objenesis.tck.candidates.SerializableConstructorWithArguments = Constructor with arguments (serializable)
66 org.objenesis.tck.candidates.SerializableConstructorWithMandatoryArguments = Constructor with mandatory arguments (serializable)
  /art/test/042-new-instance/src/
Main.java 17 import java.lang.reflect.Constructor;
69 * Tests Constructor.newInstance().
75 Constructor cons = c.getConstructor(new Class[0] /*(Class[])null*/);
87 Constructor cons = c.getConstructor((Class[]) null);
98 Constructor cons = c.getDeclaredConstructor(new Class<?>[]{Main.class});
109 Constructor cons = c.getDeclaredConstructor((Class[]) null);
120 Constructor cons = c.getConstructor(new Class[0] /*(Class[])null*/);
123 // constructor isn't public
133 Constructor cons = c.getConstructor(new Class[0] /*(Class[])null*/);
147 Constructor cons = c.getConstructor((Class[]) null)
    [all...]

Completed in 565 milliseconds

12 3 4 5 6 7 8 91011>>