HomeSort by relevance Sort by last modified time
    Searched defs:constructor (Results 176 - 200 of 1351) sorted by null

1 2 3 4 5 6 78 91011>>

  /frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/app/
AppCompatViewInflater.java 49 import java.lang.reflect.Constructor;
74 private static final Map<String, Constructor<? extends View>> sConstructorMap
311 Constructor<? extends View> constructor = sConstructorMap.get(name); local
314 if (constructor == null) {
319 constructor = clazz.getConstructor(sConstructorSignature);
320 sConstructorMap.put(name, constructor);
322 constructor.setAccessible(true);
323 return constructor.newInstance(mConstructorArgs);
  /libcore/dom/src/test/java/org/w3c/domts/
JUnitTestCaseAdapter.java 16 import java.lang.reflect.Constructor;
85 Constructor<?> constructor = clazz.getConstructor(new Class<?>[] { local
89 test = (DOMTestCase)constructor.newInstance(new Object[] {
  /libcore/luni/src/test/java/libcore/java/lang/reflect/
ConstructorTest.java 19 import java.lang.reflect.Constructor;
26 Constructor<?> constructor = ConstructorTestHelper.class.getConstructor(new Class[0]); local
27 Class[] exceptions = constructor.getExceptionTypes();
32 exceptions = constructor.getExceptionTypes();
39 Constructor<?> constructor = ConstructorTestHelper.class.getConstructor(expectedParameters); local
40 assertEquals(0, constructor.getParameterTypes().length);
43 constructor = ConstructorTestHelper.class.getConstructor(expectedParameters);
44 Class[] parameters = constructor.getParameterTypes()
56 Constructor<?> constructor = ConstructorTestHelper.class.getConstructor(expectedParameters); local
67 Constructor<?> constructor = ConstructorTestHelper.class.getConstructor(expectedParameters); local
87 Constructor<?> constructor = ConstructorTestHelper.class.getConstructor((Class[]) null); local
108 Constructor<?> constructor = ConstructorTestHelper.class.getDeclaredConstructor( local
    [all...]
OldGenericTypesTest.java 19 import java.lang.reflect.Constructor;
68 Constructor<?> constructor = clazz.getDeclaredConstructor(Object.class); local
69 Type[] genericParameterTypes = constructor.getGenericParameterTypes();
192 //constructor
193 Constructor<?>[] declaredConstructors = innerClazz.getDeclaredConstructors();
195 Constructor<?> declaredConstructor = declaredConstructors[0];
  /packages/apps/Bluetooth/jni/
com_android_bluetooth_a2dp.cpp 36 jmethodID constructor; member in struct:android::__anon52907
110 android_bluetooth_BluetoothCodecConfig.constructor,
125 android_bluetooth_BluetoothCodecConfig.constructor,
141 android_bluetooth_BluetoothCodecConfig.constructor,
174 android_bluetooth_BluetoothCodecConfig.constructor =
  /packages/apps/Settings/tests/robotests/src/com/android/settings/core/
XmlControllerAttributeTest.java 27 import java.lang.reflect.Constructor;
45 "Controllers added in XML need a constructor following either:"
47 + "\nThese controllers are missing a valid constructor:\n";
88 Constructor<?> constructor = getConstructorFromClass(clazz); local
90 if (constructor == null) {
193 private Constructor<?> getConstructorFromClass(Class<?> clazz) {
194 Constructor<?> constructor = null; local
196 constructor = clazz.getConstructor(Context.class)
    [all...]
  /prebuilts/ndk/r16/sources/android/ndk_helper/
JNIHelper.cpp 94 jmethodID constructor = env->GetMethodID( helper.jni_helper_java_class_, "<init>", "()V" ); local
95 helper.jni_helper_java_ref_ = env->NewObject( helper.jni_helper_java_class_, constructor );
  /test/vti/test_serving/gae/webapp/static/bootstrap/js/
bootstrap.js 141 $.fn.alert.Constructor = Alert
241 $.fn.button.Constructor = Button
439 $.fn.carousel.Constructor = Carousel
509 constructor: Collapse
609 $.fn.collapse.Constructor = Collapse
672 constructor: Dropdown
776 $.fn.dropdown.Constructor = Dropdown
836 constructor: Modal
1015 $.fn.modal.Constructor = Modal
1081 constructor: Toolti
507 Collapse.prototype = { property in class:var.Collapse.Collapse
670 Dropdown.prototype = { property in class:var.Dropdown
834 Modal.prototype = { property in class:var.Modal
1079 Tooltip.prototype = { property in class:var.Tooltip
1563 ScrollSpy.prototype = { property in class:Popover.ScrollSpy
1714 Tab.prototype = { property in class:refresh.Tab
1866 Typeahead.prototype = { property in class:refresh.Typeahead
    [all...]
bootstrap.min.js 6 !function(e){"use strict";e(function(){e.support.transition=function(){var e=function(){var e=document.createElement("bootstrap"),t={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"},n;for(n in t)if(e.style[n]!==undefined)return t[n]}();return e&&{end:e}}()})}(window.jQuery),!function(e){"use strict";var t='[data-dismiss="alert"]',n=function(n){e(n).on("click",t,this.close)};n.prototype.close=function(t){function s(){i.trigger("closed").remove()}var n=e(this),r=n.attr("data-target"),i;r||(r=n.attr("href"),r=r&&r.replace(/.*(?=#[^\s]*$)/,"")),i=e(r),t&&t.preventDefault(),i.length||(i=n.hasClass("alert")?n:n.parent()),i.trigger(t=e.Event("close"));if(t.isDefaultPrevented())return;i.removeClass("in"),e.support.transition&&i.hasClass("fade")?i.on(e.support.transition.end,s):s()};var r=e.fn.alert;e.fn.alert=function(t){return this.each(function(){var r=e(this),i=r.data("alert");i||r.data("alert",i=new n(this)),typeof t=="string"&&i[t].call(r)})},e.fn.alert.Constructor=n,e.fn.alert.noConflict=function(){return e.fn.alert=r,this},e(document).on("click.alert.data-api",t,n.prototype.close)}(window.jQuery),!function(e){"use strict";var t=function(t,n){this.$element=e(t),this.options=e.extend({},e.fn.button.defaults,n)};t.prototype.setState=function(e){var t="disabled",n=this.$element,r=n.data(),i=n.is("input")?"val":"html";e+="Text",r.resetText||n.data("resetText",n[i]()),n[i](r[e]||this.options[e]),setTimeout(function(){e=="loadingText"?n.addClass(t).attr(t,t):n.removeClass(t).removeAttr(t)},0)},t.prototype.toggle=function(){var e=this.$element.closest('[data-toggle="buttons-radio"]');e&&e.find(".active").removeClass("active"),this.$element.toggleClass("active")};var n=e.fn.button;e.fn.button=function(n){return this.each(function(){var r=e(this),i=r.data("button"),s=typeof n=="object"&&n;i||r.data("button",i=new t(this,s)),n=="toggle"?i.toggle():n&&i.setState(n)})},e.fn.button.defaults={loadingText:"loading..."},e.fn.button.Constructor=t,e.fn.button.noConflict=function(){return e.fn.button=n,this},e(document).on("click.button.data-api","[data-toggle^=button]",function(t){var n=e(t.target);n.hasClass("btn")||(n=n.closest(".btn")),n.button("toggle")})}(window.jQuery),!function(e){"use strict";var t=function(t,n){this.$element=e(t),this.$indicators=this.$element.find(".carousel-indicators"),this.options=n,this.options.pause=="hover"&&this.$element.on("mouseenter",e.proxy(this.pause,this)).on("mouseleave",e.proxy(this.cycle,this))};t.prototype={cycle:function(t){return t||(this.paused=!1),this.interval&&clearInterval(this.interval),this.options.interval&&!this.paused&&(this.interval=setInterval(e.proxy(this.next,this),this.options.interval)),this},getActiveIndex:function(){return this.$active=this.$element.find(".item.active"),this.$items=this.$active.parent().children(),this.$items.index(this.$active)},to:function(t){var n=this.getActiveIndex(),r=this;if(t>this.$items.length-1||t<0)return;return this.sliding?this.$element.one("slid",function(){r.to(t)}):n==t?this.pause().cycle():this.slide(t>n?"next":"prev",e(this.$items[t]))},pause:function(t){return t||(this.paused=!0),this.$element.find(".next, .prev").length&&e.support.transition.end&&(this.$element.trigger(e.support.transition.end),this.cycle(!0)),clearInterval(this.interval),this.interval=null,this},next:function(){if(this.sliding)return;return this.slide("next")},prev:function(){if(this.sliding)return;return this.slide("prev")},slide:function(t,n){var r=this.$element.find(".item.active"),i=n||r[t](),s=this.interval,o=t=="next"?"left":"right",u=t=="next"?"first":"last",a=this,f;this.sliding=!0,s&&this.pause(),i=i.length?i:this.$element.find(".item")[u](),f=e.Event("slide",{relatedTarget:i[0],direction:o});if(i.hasClass("active"))return;this.$indicators.length&&(this.$indicators.find(".active").removeClass("active"),this.$element.one("slid",function(){var t=e(a.$indicators.children()[a.getActiveIndex()]);t&&t.addClass("active")}));if(e.support.transition&&this.$element.hasClass("slide")){this.$element.trigger(f);if(f.isDefaultPrevented())return;i.addClass(t),i[0].offsetWidth,r.addClass(o),i.addClass(o),this.$element.one(e.support.transition.end,function(){i.removeClass([t,o].join(" ")).addClass("active"),r.removeClass(["active",o].join(" ")),a.sliding=!1,setTimeout(function(){a.$element.trigger("slid")},0)})}else{this.$element.trigger(f);if(f.isDefaultPrevented())return;r.removeClass("active"),i.addClass("active"),this.sliding=!1,this.$element.trigger("slid")}return s&&this.cycle(),this}};var n=e.fn.carousel;e.fn.carousel=function(n){return this.each(function(){var r=e(this),i=r.data("carousel"),s=e.extend({},e.fn.carousel.defaults,typeof n=="object"&&n),o=typeof n=="string"?n:s.slide;i||r.data("carousel",i=new t(this,s)),typeof n=="number"?i.to(n):o?i[o]():s.interval&&i.pause().cycle()})},e.fn.carousel.defaults={interval:5e3,pause:"hover"},e.fn.carousel.Constructor=t,e.fn.carousel.noConflict=function(){return e.fn.carousel=n,this},e(document).on("click.carousel.data-api","[data-slide], [data-slide-to]",function(t){var n=e(this),r,i=e(n.attr("data-target")||(r=n.attr("href"))&&r.replace(/.*(?=#[^\s]+$)/,"")),s=e.extend({},i.data(),n.data()),o;i.carousel(s),(o=n.attr("data-slide-to"))&&i.data("carousel").pause().to(o).cycle(),t.preventDefault()})}(window.jQuery),!function(e){"use strict";var t=function(t,n){this.$element=e(t),this.options=e.extend({},e.fn.collapse.defaults,n),this.options.parent&&(this.$parent=e(this.options.parent)),this.options.toggle&&this.toggle()};t.prototype={constructor:t,dimension:function(){var e=this.$element.hasClass("width");return e?"width":"height"},show:function(){var t,n,r,i;if(this.transitioning||this.$element.hasClass("in"))return;t=this.dimension(),n=e.camelCase(["scroll",t].join("-")),r=this.$parent&&this.$parent.find("> .accordion-group > .in");if(r&&r.length){i=r.data("collapse");if(i&&i.transitioning)return;r.collapse("hide"),i||r.data("collapse",null)}this.$element[t](0),this.transition("addClass",e.Event("show"),"shown"),e.support.transition&&this.$element[t](this.$element[0][n])},hide:function(){var t;if(this.transitioning||!this.$element.hasClass("in"))return;t=this.dimension(),this.reset(this.$element[t]()),this.transition("removeClass",e.Event("hide"),"hidden"),this.$element[t](0)},reset:function(e){var t=this.dimension();return this.$element.removeClass("collapse")[t](e||"auto")[0].offsetWidth,this.$element[e!==null?"addClass":"removeClass"]("collapse"),this},transition:function(t,n,r){var i=this,s=function(){n.type=="show"&&i.reset(),i.transitioning=0,i.$element.trigger(r)};this.$element.trigger(n);if(n.isDefaultPrevented())return;this.transitioning=1,this.$element[t]("in"),e.support.transition&&this.$element.hasClass("collapse")?this.$element.one(e.support.transition.end,s):s()},toggle:function(){this[this.$element.hasClass("in")?"hide":"show"]()}};var n=e.fn.collapse;e.fn.collapse=function(n){return this.each(function(){var r=e(this),i=r.data("collapse"),s=e.extend({},e.fn.collapse.defaults,r.data(),typeof n=="object"&&n);i||r.data("collapse",i=new t(this,s)),typeof n=="string"&&i[n]()})},e.fn.collapse.defaults={toggle:!0},e.fn.collapse.Constructor=t,e.fn.collapse.noConflict=function(){return e.fn.collapse=n,this},e(document).on("click.collapse.data-api","[data-toggle=collapse]",function(t){var n=e(this),r,i=n.attr("data-target")||t.preventDefault()||(r=n.attr("href"))&&r.replace(/.*(?=#[^\s]+$)/,""),s=e(i).data("collapse")?"toggle":n.data();n[e(i).hasClass("in")?"addClass":"removeClass"]("collapsed"),e(i).collapse(s)})}(window.jQuery),!function(e){"use strict";function r(){e(t).each(function(){i(e(this)).removeClass("open")})}function i(t){var n=t.attr("data-target"),r;n||(n=t.attr("href"),n=n&&/#/.test(n)&&n.replace(/.*(?=#[^\s]*$)/,"")),r=n&&e(n);if(!r||!r.length)r=t.parent();return r}var t="[data-toggle=dropdown]",n=function(t){var n=e(t).on("click.dropdown.data-api",this.toggle);e("html").on("click.dropdown.data-api",function(){n.parent().removeClass("open")})};n.prototype={constructor:n,toggle:function(t){var n=e(this),s,o;if(n.is(".disabled, :disabled"))return;return s=i(n),o=s.hasClass("open"),r(),o||s.toggleClass("open"),n.focus(),!1},keydown:function(n){var r,s,o,u,a,f;if(!/(38|40|27)/.test(n.keyCode))return;r=e(this),n.preventDefault(),n.stopPropagation();if(r.is(".disabled, :disabled"))return;u=i(r),a=u.hasClass("open");if(!a||a&&n.keyCode==27)return n.which==27&&u.find(t).focus(),r.click();s=e("[role=menu] li:not(.divider):visible a",u);if(!s.length)return;f=s.index(s.filter(":focus")),n.keyCode==38&&f>0&&f--,n.keyCode==40&&f<s.length-1&&f++,~f||(f=0),s.eq(f).focus()}};var s=e.fn.dropdown;e.fn.dropdown=function(t){return this.each(function(){var r=e(this),i=r.data("dropdown");i||r.data("dropdown",i=new n(this)),typeof t=="string"&&i[t].call(r)})},e.fn.dropdown.Constructor=n,e.fn.dropdown.noConflict=function(){return e.fn.dropdown=s,this},e(document).on("click.dropdown.data-api",r).on("click.dropdown.data-api",".dropdown form",function(e){e.stopPropagation()}).on("click.dropdown-menu",function(e){e.stopPropagation()}).on("click.dropdown.data-api",t,n.prototype.toggle).on("keydown.dropdown.data-api",t+", [role=menu]",n.prototype.keydown)}(window.jQuery),!function(e){"use strict";var t=function(t,n){this.options=n,this.$element=e(t).delegate('[data-dismiss="modal"]',"click.dismiss.modal",e.proxy(this.hide,this)),this.options.remote&&this.$element.find(".modal-body").load(this.options.remote)};t.prototype={constructor:t,toggle:function(){return this[this.isShown?"hide":"show"]()},show:function(){var t=this,n=e.Event("show");this.$element.trigger(n);if(this.isShown||n.isDefaultPrevented())return;this.isShown=!0,this.escape(),this.backdrop(function(){var n=e.support.transition&&t.$element.hasClass("fade");t.$element.parent().length||t.$element.appendTo(document.body),t.$element.show(),n&&t.$element[0].offsetWidth,t.$element.addClass("in").attr("aria-hidden",!1),t.enforceFocus(),n?t.$element.one(e.support.transition.end,function(){t.$element.focus().trigger("shown")}):t.$element.focus().trigger("shown")})},hide:function(t){t&&t.preventDefault();var n=this;t=e.Event("hide"),this.$element.trigger(t);if(!this.isShown||t.isDefaultPrevented())return;this.isShown=!1,this.escape(),e(document).off("focusin.modal"),this.$element.removeClass("in").attr("aria-hidden",!0),e.support.transition&&this.$element.hasClass("fade")?this.hideWithTransition():this.hideModal()},enforceFocus:function(){var t=this;e(document).on("focusin.modal",function(e){t.$element[0]!==e.target&&!t.$element.has(e.target).length&&t.$element.focus()})},escape:function(){var e=this;this.isShown&&this.options.keyboard?this.$element.on("keyup.dismiss.modal",function(t){t.which==27&&e.hide()}):this.isShown||this.$element.off("keyup.dismiss.modal")},hideWithTransition:function(){var t=this,n=setTimeout(function(){t.$element.off(e.support.transition.end),t.hideModal()},500);this.$element.one(e.support.transition.end,function(){clearTimeout(n),t.hideModal()})},hideModal:function(){var e=this;this.$element.hide(),this.backdrop(function(){e.removeBackdrop(),e.$element.trigger("hidden")})},removeBackdrop:function(){this.$backdrop&&this.$backdrop.remove(),this.$backdrop=null},backdrop:function(t){var n=this,r=this.$element.hasClass("fade")?"fade":"";if(this.isShown&&this.options.backdrop){var i=e.support.transition&&r;this.$backdrop=e('<div class="modal-backdrop '+r+'" />').appendTo(document.body),this.$backdrop.click(this.options.backdrop=="static"?e.proxy(this.$element[0].focus,this.$element[0]):e.proxy(this.hide,this)),i&&this.$backdrop[0].offsetWidth,this.$backdrop.addClass("in");if(!t)return;i?this.$backdrop.one(e.support.transition.end,t):t()}else!this.isShown&&this.$backdrop?(this.$backdrop.removeClass("in"),e.support.transition&&this.$element.hasClass("fade")?this.$backdrop.one(e.support.transition.end,t):t()):t&&t()}};var n=e.fn.modal;e.fn.modal=function(n){return this.each(function(){var r=e(this),i=r.data("modal"),s=e.extend({},e.fn.modal.defaults,r.data(),typeof n=="object"&&n);i||r.data("modal",i=new t(this,s)),typeof n=="string"?i[n]():s.show&&i.show()})},e.fn.modal.defaults={backdrop:!0,keyboard:!0,show:!0},e.fn.modal.Constructor=t,e.fn.modal.noConflict=function(){return e.fn.modal=n,this},e(document).on("click.modal.data-api",'[data-toggle="modal"]',function(t){var n=e(this),r=n.attr("href"),i=e(n.attr("data-target")||r&&r.replace(/.*(?=#[^\s]+$)/,"")),s=i.data("modal")?"toggle":e.extend({remote:!/#/.test(r)&&r},i.data(),n.data());t.preventDefault(),i.modal(s).one("hide",function(){n.focus()})})}(window.jQuery),!function(e){"use strict";var t=function(e,t){this.init("tooltip",e,t)};t.prototype={constructor:t,init:function(t,n,r){var i,s,o,u,a;this.type=t,this.$element=e(n),this.options=this.getOptions(r (…) property in class:t
    [all...]
  /external/guava/guava-tests/test/com/google/common/reflect/
InvokableTest.java 28 import java.lang.reflect.Constructor;
45 Prepender.constructor().getReturnType().getType());
57 Constructor<WithConstructorAndTypeParameter> constructor = type.getDeclaredConstructor(); local
58 Invokable<?, ?> factory = Invokable.from(constructor);
61 assertEquals(constructor.getTypeParameters()[0], factory.getTypeParameters()[1]);
70 Prepender.constructor(String.class, int.class).getExceptionTypes());
75 Prepender.constructor().getTypeParameters();
81 Invokable<?, Prepender> delegate = Prepender.constructor(String.class, int.class);
95 Invokable<?, Prepender> delegate = Prepender.constructor(String.class, int.class)
325 Constructor<?> constructor = local
331 Constructor<?> constructor = local
342 Constructor<?> constructor = local
355 Constructor<?> constructor = local
368 Constructor<?> constructor = local
386 Constructor<?> constructor = anonymous.getDeclaredConstructors() [0]; local
396 Constructor<?> constructor = anonymous.getDeclaredConstructors() [0]; local
408 Constructor<?> constructor = LocalWithDefaultConstructor.class.getDeclaredConstructors() [0]; local
424 Constructor<?> constructor = anonymous.getDeclaredConstructors() [0]; local
441 Constructor<?> constructor = anonymous.getDeclaredConstructors() [0]; local
453 Constructor<?> constructor = Local.class.getDeclaredConstructors() [0]; external variable declarations
465 Constructor<?> constructor = Local.class.getDeclaredConstructors() [0]; external variable declarations
484 Constructor<?> constructor = Local.class.getDeclaredConstructors() [0]; external variable declarations
499 Constructor<?> constructor = local
511 Constructor<?> constructor = local
523 Constructor<?> constructor = local
580 static Invokable<?, Prepender> constructor(Class<?>... parameterTypes) throws Exception { method in class:InvokableTest.Prepender
581 Constructor<Prepender> constructor = Prepender.class.getDeclaredConstructor(parameterTypes); local
    [all...]
  /build/make/tools/signtos/
SignTos.java 35 import java.lang.reflect.Constructor;
174 Constructor<?> constructor = null; local
175 for (Constructor<?> c : klass.getConstructors()) {
177 constructor = c;
181 if (constructor == null) {
182 System.err.println("No zero-arg constructor found for " + providerClassName);
189 o = constructor.newInstance();
  /external/deqp/framework/platform/android/
tcuAndroidInternals.hpp 105 genericFunc constructor; member in struct:tcu::Android::internal::GraphicBufferFunctions
  /external/desugar/java/com/google/devtools/common/options/
OptionsParserImpl.java 27 import java.lang.reflect.Constructor;
536 Constructor<O> constructor = optionsData.getConstructor(optionsClass); local
537 if (constructor == null) {
540 optionsInstance = constructor.newInstance();
  /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/mockito/src/test/java/org/mockitousage/constructor/
CreatingMocksWithConstructorTest.java 5 package org.mockitousage.constructor;
48 //the message is a part of state of the mocked type that gets initialized in constructor
118 assertThat(e.getCause()).hasMessageContaining("Please ensure the target class has a 0-arg constructor and executes cleanly.");
135 assertThat(e.getCause()).hasMessageContaining("Please ensure that the target class has a 0-arg constructor.");
226 + "[org.mockitousage.constructor.CreatingMocksWithConstructorTest$ExtendsBase, "
227 + "org.mockitousage.constructor.CreatingMocksWithConstructorTest$ExtendsBase]")
228 .hasMessageContaining("If you believe that Mockito could do a better job deciding on which constructor to use, please let us know.\n" +
246 "Please ensure that the target class has a 0-arg constructor"
267 assertEquals("Mocks instantiated with constructor cannot be combined with " + SerializableMode.ACROSS_CLASSLOADERS + " serialization mode.", e.getMessage());
  /external/sl4a/Common/src/com/googlecode/android_scripting/rpc/
MethodDescriptor.java 30 import java.lang.reflect.Constructor;
523 Constructor<?> constructor = converterClass.getConstructor(new Class<?>[0]); local
524 return (Converter<?>) constructor.newInstance(new Object[0]);
  /external/snakeyaml/src/test/java/org/yaml/snakeyaml/constructor/
TestBean1.java 16 package org.yaml.snakeyaml.constructor;
  /external/snakeyaml/src/test/java/org/yaml/snakeyaml/recursive/
HumanTest.java 35 import org.yaml.snakeyaml.constructor.Constructor;
138 Yaml beanLoader = new Yaml(new Constructor(humanDescription));
211 Yaml beanLoader = new Yaml(new Constructor(humanDescription));
275 Constructor constructor = new Constructor(Human2.class); local
278 constructor.addTypeDescription(humanDescription);
280 Yaml yaml = new Yaml(constructor);
342 Constructor constructor = new Constructor(Human3.class) local
382 Constructor constructor = new Constructor(); local
419 Constructor constructor = new Constructor(); local
487 Constructor constructor = new Constructor(); local
    [all...]
  /external/tensorflow/tensorflow/java/src/gen/cc/
java_defs.h 213 bool constructor() const { return constructor_; } function in class:tensorflow::java::Method
250 Method(const string& name, const Type& return_type, bool constructor)
251 : name_(name), return_type_(return_type), constructor_(constructor) {}
  /external/testng/src/main/java/org/testng/internal/
ClassHelper.java 3 import java.lang.reflect.Constructor;
43 /** Hide constructor. */
45 // Hide Constructor
56 + " does not have a no-args constructor", iae);
70 public static <T> T newInstance(Constructor<T> constructor, Object... parameters) {
72 return constructor.newInstance(parameters);
74 throw new TestNGException("Cannot instantiate class " + constructor.getDeclaringClass().getName(), e);
151 for (Constructor constructor : cls.getDeclaredConstructors())
315 Constructor<?> constructor = findAnnotatedConstructor(finder, declaringClass); local
    [all...]
  /frameworks/base/core/tests/coretests/src/android/content/
ContentProviderOperationTest.java 28 import java.lang.reflect.Constructor;
380 final Constructor constructor = CLASS_OPERATION.getDeclaredConstructor(CLASS_BUILDER); local
381 constructor.setAccessible(true);
382 return (ContentProviderOperation) constructor.newInstance(builder);
  /frameworks/opt/vcard/tests/src/com/android/vcard/tests/testutils/
VCardVerifier.java 245 final VCardEntryConstructor constructor = new VCardEntryConstructor(mVCardType); local
246 constructor.addEntryHandler(mContentValuesVerifier);
247 parser.addInterpreter(constructor);
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/reflect/
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/annotations/
ExecutableParameterTest.java 22 import java.lang.reflect.Constructor;
40 * Tests for {@link Executable#getParameterAnnotations()} via the {@link Constructor} and
156 Constructor constructorWithoutAnnotatedParameters =
163 Constructor constructorWithAnnotatedParameters =
185 static Constructor<?> getConstructorWithoutAnnotations() throws Exception {
189 static Constructor<?> getConstructorMultipleAnnotationOddity() throws Exception {
193 static Constructor<?> getConstructorMultipleAnnotationExplicitSingle()
198 static Constructor<?> getConstructorMultipleAnnotation() throws Exception {
202 static Constructor<?> getConstructorSingleAnnotation() throws Exception {
226 * As an inner class the constructor will actually have two parameters: the first, referencin
235 Constructor<InnerClass> constructor = local
257 Constructor<? extends AnonymousBaseClass> constructor = local
276 Constructor<StaticInnerClass> constructor = local
    [all...]
  /libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
KeyFactoryTest.java 5 import java.lang.reflect.Constructor;
458 Constructor<T> constructor = null; local
461 constructor = keySpec.getConstructor(TestPrivateKey.class);
469 constructor = keySpec.getConstructor(TestPublicKey.class);
477 if (constructor == null) {
482 return constructor.newInstance(key);

Completed in 1119 milliseconds

1 2 3 4 5 6 78 91011>>