Class Reflect
java.lang.Object
elemental2.core.Reflect
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interface
static interface
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <THIS,
RESULT>
RESULTapply
(Reflect.ApplyTargetFn<? extends RESULT> targetFn, THIS thisArg, JsArray<Object> argList) static final <THIS,
RESULT>
RESULTapply
(Reflect.ApplyTargetFn<? extends RESULT> targetFn, THIS thisArg, Object[] argList) static final <TARGET> TARGET
static final <TARGET> TARGET
construct
(Class<?> targetConstructorFn, JsArray<Object> argList, Class<? extends TARGET> newTargetConstructorFn) static final <TARGET> TARGET
static final <TARGET> TARGET
construct
(Class<?> targetConstructorFn, Object[] argList, Class<? extends TARGET> newTargetConstructorFn) static <TARGET> TARGET
static <TARGET> TARGET
construct
(jsinterop.base.JsConstructorFn<?> targetConstructorFn, JsArray<Object> argList, jsinterop.base.JsConstructorFn<? extends TARGET> newTargetConstructorFn) static final <TARGET> TARGET
static final <TARGET> TARGET
construct
(jsinterop.base.JsConstructorFn<?> targetConstructorFn, Object[] argList, jsinterop.base.JsConstructorFn<? extends TARGET> newTargetConstructorFn) static boolean
defineProperty
(JsObject target, String propertyKey, ObjectPropertyDescriptor attributes) static final boolean
defineProperty
(Object target, String propertyKey, ObjectPropertyDescriptor attributes) static boolean
deleteProperty
(JsObject target, String propertyKey) static final boolean
deleteProperty
(Object target, String propertyKey) static Object
static Object
static final Object
static final Object
static ObjectPropertyDescriptor
getOwnPropertyDescriptor
(JsObject target, String propertyKey) static final ObjectPropertyDescriptor
getOwnPropertyDescriptor
(Object target, String propertyKey) static JsObject
getPrototypeOf
(JsObject target) static final JsObject
getPrototypeOf
(Object target) static boolean
static final boolean
static boolean
isExtensible
(JsObject target) static final boolean
isExtensible
(Object target) static JsArray
<Reflect.OwnKeysArrayUnionType> static final JsArray
<Reflect.OwnKeysArrayUnionType> static boolean
preventExtensions
(JsObject target) static final boolean
preventExtensions
(Object target) static boolean
static boolean
static final boolean
static final boolean
static boolean
setPrototypeOf
(JsObject target, JsObject proto) static final boolean
setPrototypeOf
(Object target, Object proto)
-
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
-
construct
-
construct
-
construct
-
construct
-
construct
-
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
-
deleteProperty
-
get
-
get
-
get
-
get
-
getOwnPropertyDescriptor
public static ObjectPropertyDescriptor getOwnPropertyDescriptor(JsObject target, String propertyKey) -
getOwnPropertyDescriptor
@JsOverlay public static final ObjectPropertyDescriptor getOwnPropertyDescriptor(Object target, String propertyKey) -
getPrototypeOf
-
getPrototypeOf
-
has
-
has
-
isExtensible
-
isExtensible
-
ownKeys
-
ownKeys
-
preventExtensions
-
preventExtensions
-
set
-
set
-
set
-
set
-
setPrototypeOf
-
setPrototypeOf
-