< prev index next >
src/jdk.vm.ci/share/classes/jdk.vm.ci.meta/src/jdk/vm/ci/meta/ConstantReflectionProvider.java
Print this page
*** 121,134 ****
* available at this point.
*/
JavaConstant boxPrimitive(JavaConstant source);
/**
! * Converts the given {@link JavaKind#Object object} constant to a
! * {@link JavaKind#isPrimitive() primitive} constant, according to the Java unboxing rules.
! * Returns {@code null} if the source is is not an object constant that can be unboxed, or the
! * unboxed value is not available at this point.
*/
JavaConstant unboxPrimitive(JavaConstant source);
/**
* Gets a string as a {@link JavaConstant}.
--- 121,134 ----
* available at this point.
*/
JavaConstant boxPrimitive(JavaConstant source);
/**
! * Converts the given {@link JavaKind#Object object} constant to a {@link JavaKind#isPrimitive()
! * primitive} constant, according to the Java unboxing rules. Returns {@code null} if the source
! * is is not an object constant that can be unboxed, or the unboxed value is not available at
! * this point.
*/
JavaConstant unboxPrimitive(JavaConstant source);
/**
* Gets a string as a {@link JavaConstant}.
< prev index next >