HomeSort by relevance Sort by last modified time
    Searched refs:Constructor (Results 1 - 25 of 959) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/testng/src/main/java/org/testng/
IObjectFactory.java 3 import java.lang.reflect.Constructor;
6 * Factory used to create all test instances. This factory is passed the constructor
16 Object newInstance(Constructor constructor, Object... params);
IAnnotationTransformer.java 5 import java.lang.reflect.Constructor;
23 * @param testConstructor If the annotation was found on a constructor,
24 * this parameter represents this constructor (null otherwise).
29 Constructor testConstructor, Method testMethod);
ConversionUtils.java 3 import java.lang.reflect.Constructor;
23 Constructor ctor = null;
25 for (Constructor c : cls.getConstructors()) {
35 throw new TestNGException("Couldn't find a constructor in " + cls);
  /external/jacoco/org.jacoco.core.test/src/org/jacoco/core/test/filter/targets/
Constructor.java 19 public class Constructor {
21 Constructor() { // $line-packageLocal$
24 private Constructor(Object arg) { // $line-arg$
27 private static class Super extends Constructor {
68 new Constructor().new Inner();
  /external/testng/src/main/java/org/testng/internal/annotations/
BaseAnnotation.java 3 import java.lang.reflect.Constructor;
9 private Constructor m_constructor;
11 public Constructor getConstructor() {
14 public void setConstructor(Constructor constructor) {
15 m_constructor = constructor;
DefaultAnnotationTransformer.java 6 import java.lang.reflect.Constructor;
15 Constructor testConstructor, Method testMethod)
IAnnotationFinder.java 3 import java.lang.reflect.Constructor;
43 public <A extends IAnnotation> A findAnnotation(Constructor<?> cons, Class<A> annotationClass);
60 public String[] findOptionalValues(Constructor ctor);
  /art/test/042-new-instance/src/otherpackage/
ConstructorAccess.java 19 import java.lang.reflect.Constructor;
27 // Test for regression in b/25817515. Inner class constructor should
33 Constructor cons = c.getDeclaredConstructor();
  /external/snakeyaml/src/test/java/examples/
CustomConstructor.java 22 import org.yaml.snakeyaml.constructor.Constructor;
24 public class CustomConstructor extends Constructor {
  /external/testng/src/test/java/test/annotationtransformer/
MyTimeOutTransformer.java 6 import java.lang.reflect.Constructor;
13 Constructor testConstructor, Method testMethod)
AnnotationTransformerInTestngXml.java 7 import java.lang.reflect.Constructor;
17 Constructor testConstructor, Method testMethod) {
  /external/testng/src/test/java/test/objectfactory/
ClassObjectFactory.java 5 import java.lang.reflect.Constructor;
12 Constructor ctor = cls.getConstructors()[0];
LoggingObjectFactory.java 5 import java.lang.reflect.Constructor;
21 public Object newInstance(Constructor constructor, Object... params)
24 return super.newInstance(constructor, params);
  /prebuilts/misc/common/swig/include/2.0.11/python/
pycomplex.swg 4 the complex Constructor method, and the Real and Imag complex
23 %define %swig_cplxdbl_conv(Type, Constructor, Real, Imag)
31 if (val) *val = Constructor(PyComplex_RealAsDouble(o), PyComplex_ImagAsDouble(o));
37 if (val) *val = Constructor(d, 0.0);
48 %define %swig_cplxflt_conv(Type, Constructor, Real, Imag)
58 if (val) *val = Constructor(%numeric_cast(re, float),
68 if (val) *val = Constructor(re, 0.0);
79 #define %swig_cplxflt_convn(Type, Constructor, Real, Imag) \
80 %swig_cplxflt_conv(Type, Constructor, Real, Imag)
83 #define %swig_cplxdbl_convn(Type, Constructor, Real, Imag)
    [all...]
  /art/runtime/mirror/
method.cc 29 GcRoot<Class> Constructor::static_class_;
30 GcRoot<Class> Constructor::array_class_;
79 void Constructor::SetClass(Class* klass) {
85 void Constructor::ResetClass() {
90 void Constructor::SetArrayClass(Class* klass) {
96 void Constructor::ResetArrayClass() {
101 void Constructor::VisitRoots(RootVisitor* visitor) {
107 Constructor* Constructor::CreateFromArtMethod(Thread* self, ArtMethod* method) {
109 ObjPtr<Constructor> ret = ObjPtr<Constructor>::DownCast(StaticClass()->AllocObject(self))
    [all...]
  /external/objenesis/main/src/main/java/org/objenesis/instantiator/sun/
SunReflectionFactoryInstantiator.java 18 import java.lang.reflect.Constructor;
26 * Instantiates an object, WITHOUT calling it's constructor, using internal
29 * caused by the constructor - however it is not available on every platform.
37 private final Constructor<T> mungedConstructor;
40 Constructor<Object> javaLangObjectConstructor = getJavaLangObjectConstructor();
55 private static Constructor<Object> getJavaLangObjectConstructor() {
SunReflectionFactoryHelper.java 17 import java.lang.reflect.Constructor;
35 public static <T> Constructor<T> newConstructorForSerialization(Class<T> type,
36 Constructor<?> constructor) {
44 return (Constructor<T>) newConstructorForSerializationMethod.invoke(
45 reflectionFactory, type, constructor);
90 "newConstructorForSerialization", Class.class, Constructor.class);
  /external/guice/extensions/assistedinject/src/com/google/inject/assistedinject/
AssistedMethod.java 22 import java.lang.reflect.Constructor;
46 * Returns the constructor that will be used to construct instances of the
49 Constructor<?> getImplementationConstructor();
  /external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue9/
BeanConstructor3.java 18 import org.yaml.snakeyaml.constructor.Constructor;
22 public class BeanConstructor3 extends Constructor {
  /external/testng/src/main/java/org/testng/internal/
PathUtilsFactory.java 19 import java.lang.reflect.Constructor;
33 Constructor<?> constructor = propertyUtilsClass.getConstructor(); local
35 return (IPathUtils)constructor.newInstance();
38 // Impossible: Constructor should not be failing.
45 // Impossible. PathUtils should have a 0-arg constructor.
PropertyUtilsFactory.java 19 import java.lang.reflect.Constructor;
33 Constructor<?> constructor = propertyUtilsClass.getConstructor(); local
35 return (IPropertyUtils)constructor.newInstance();
38 // Impossible: Constructor should not be failing.
45 // Impossible. PropertyUtils should have a 0-arg constructor.
  /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
  /libcore/ojluni/src/main/java/java/lang/reflect/
Constructor.java 37 * {@code Constructor} provides information about, and access to, a single
38 * constructor for a class.
40 * <p>{@code Constructor} permits widening conversions to occur when matching the
42 * constructor's formal parameters, but throws an
45 * @param <T> the class in which the constructor is declared
56 public final class Constructor<T> extends Executable {
67 private Constructor() {
71 private Constructor(Class<?> serializationCtor,
80 public Constructor<T> serializationCopy(Class<?> ctor, Class<?> cl) {
81 return new Constructor<T>(ctor, cl)
    [all...]
  /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/snakeyaml/src/test/java/org/yaml/snakeyaml/partialconstruct/
FragmentComposerTest.java 21 import org.yaml.snakeyaml.constructor.Constructor;
36 Constructor constructor = new Constructor(); local
37 constructor.setComposer(composer);
38 DeveloperBean developer = (DeveloperBean) constructor.getSingleData(DeveloperBean.class);

Completed in 2288 milliseconds

1 2 3 4 5 6 7 8 91011>>