Class Reflect

java.lang.Object
elemental2.core.Reflect

@JsType(isNative=true, namespace="<global>") public class Reflect extends Object
  • Constructor Details

    • Reflect

      public Reflect()
  • Method Details

    • apply

      public static <THIS, RESULT> RESULT apply(Reflect.ApplyTargetFn<? extends RESULT> targetFn, THIS thisArg, JsArray<Object> argList)
    • apply

      @JsOverlay public static final <THIS, RESULT> RESULT apply(Reflect.ApplyTargetFn<? extends RESULT> targetFn, THIS thisArg, Object[] argList)
    • construct

      @JsOverlay public static final <TARGET> TARGET construct(Class<?> targetConstructorFn, JsArray<Object> argList, Class<? extends TARGET> newTargetConstructorFn)
    • construct

      @JsOverlay public static final <TARGET> TARGET construct(Class<?> targetConstructorFn, JsArray<Object> argList)
    • construct

      @JsOverlay public static final <TARGET> TARGET construct(Class<?> targetConstructorFn, Object[] argList, Class<? extends TARGET> newTargetConstructorFn)
    • construct

      @JsOverlay public static final <TARGET> TARGET construct(Class<?> targetConstructorFn, Object[] argList)
    • construct

      public static <TARGET> TARGET construct(jsinterop.base.JsConstructorFn<?> targetConstructorFn, JsArray<Object> argList, jsinterop.base.JsConstructorFn<? extends TARGET> newTargetConstructorFn)
    • construct

      public static <TARGET> TARGET construct(jsinterop.base.JsConstructorFn<?> targetConstructorFn, JsArray<Object> argList)
    • construct

      @JsOverlay public static final <TARGET> TARGET construct(jsinterop.base.JsConstructorFn<?> targetConstructorFn, Object[] argList, jsinterop.base.JsConstructorFn<? extends TARGET> newTargetConstructorFn)
    • construct

      @JsOverlay public static final <TARGET> TARGET construct(jsinterop.base.JsConstructorFn<?> targetConstructorFn, Object[] argList)
    • defineProperty

      public static boolean defineProperty(JsObject target, String propertyKey, ObjectPropertyDescriptor attributes)
    • defineProperty

      @JsOverlay public static final boolean defineProperty(Object target, String propertyKey, ObjectPropertyDescriptor attributes)
    • deleteProperty

      public static boolean deleteProperty(JsObject target, String propertyKey)
    • deleteProperty

      @JsOverlay public static final boolean deleteProperty(Object target, String propertyKey)
    • get

      public static Object get(JsObject target, String propertyKey, JsObject receiver)
    • get

      public static Object get(JsObject target, String propertyKey)
    • get

      @JsOverlay public static final Object get(Object target, String propertyKey, Object receiver)
    • get

      @JsOverlay public static final Object get(Object target, String propertyKey)
    • getOwnPropertyDescriptor

      public static ObjectPropertyDescriptor getOwnPropertyDescriptor(JsObject target, String propertyKey)
    • getOwnPropertyDescriptor

      @JsOverlay public static final ObjectPropertyDescriptor getOwnPropertyDescriptor(Object target, String propertyKey)
    • getPrototypeOf

      public static JsObject getPrototypeOf(JsObject target)
    • getPrototypeOf

      @JsOverlay public static final JsObject getPrototypeOf(Object target)
    • has

      public static boolean has(JsObject target, String propertyKey)
    • has

      @JsOverlay public static final boolean has(Object target, String propertyKey)
    • isExtensible

      public static boolean isExtensible(JsObject target)
    • isExtensible

      @JsOverlay public static final boolean isExtensible(Object target)
    • ownKeys

      public static JsArray<Reflect.OwnKeysArrayUnionType> ownKeys(JsObject target)
    • ownKeys

      @JsOverlay public static final JsArray<Reflect.OwnKeysArrayUnionType> ownKeys(Object target)
    • preventExtensions

      public static boolean preventExtensions(JsObject target)
    • preventExtensions

      @JsOverlay public static final boolean preventExtensions(Object target)
    • set

      public static boolean set(JsObject target, String propertyKey, Object value, JsObject receiver)
    • set

      public static boolean set(JsObject target, String propertyKey, Object value)
    • set

      @JsOverlay public static final boolean set(Object target, String propertyKey, Object value, Object receiver)
    • set

      @JsOverlay public static final boolean set(Object target, String propertyKey, Object value)
    • setPrototypeOf

      public static boolean setPrototypeOf(JsObject target, JsObject proto)
    • setPrototypeOf

      @JsOverlay public static final boolean setPrototypeOf(Object target, Object proto)