997 */
998 @Override
999 public Optional<Float> describeConstable() {
1000 return Optional.of(this);
1001 }
1002
1003 /**
1004 * Resolves this instance as a {@link ConstantDesc}, the result of which is
1005 * the instance itself.
1006 *
1007 * @param lookup ignored
1008 * @return the {@linkplain Float} instance
1009 * @since 12
1010 */
1011 @Override
1012 public Float resolveConstantDesc(MethodHandles.Lookup lookup) {
1013 return this;
1014 }
1015
1016 /** use serialVersionUID from JDK 1.0.2 for interoperability */
1017 private static final long serialVersionUID = -2671257302660747028L;
1018 }
|
997 */
998 @Override
999 public Optional<Float> describeConstable() {
1000 return Optional.of(this);
1001 }
1002
1003 /**
1004 * Resolves this instance as a {@link ConstantDesc}, the result of which is
1005 * the instance itself.
1006 *
1007 * @param lookup ignored
1008 * @return the {@linkplain Float} instance
1009 * @since 12
1010 */
1011 @Override
1012 public Float resolveConstantDesc(MethodHandles.Lookup lookup) {
1013 return this;
1014 }
1015
1016 /** use serialVersionUID from JDK 1.0.2 for interoperability */
1017 @java.io.Serial
1018 private static final long serialVersionUID = -2671257302660747028L;
1019 }
|