1983 */
1984 @Override
1985 public Optional<Long> describeConstable() {
1986 return Optional.of(this);
1987 }
1988
1989 /**
1990 * Resolves this instance as a {@link ConstantDesc}, the result of which is
1991 * the instance itself.
1992 *
1993 * @param lookup ignored
1994 * @return the {@linkplain Long} instance
1995 * @since 12
1996 */
1997 @Override
1998 public Long resolveConstantDesc(MethodHandles.Lookup lookup) {
1999 return this;
2000 }
2001
2002 /** use serialVersionUID from JDK 1.0.2 for interoperability */
2003 @Native private static final long serialVersionUID = 4290774380558885855L;
2004 }
|
1983 */
1984 @Override
1985 public Optional<Long> describeConstable() {
1986 return Optional.of(this);
1987 }
1988
1989 /**
1990 * Resolves this instance as a {@link ConstantDesc}, the result of which is
1991 * the instance itself.
1992 *
1993 * @param lookup ignored
1994 * @return the {@linkplain Long} instance
1995 * @since 12
1996 */
1997 @Override
1998 public Long resolveConstantDesc(MethodHandles.Lookup lookup) {
1999 return this;
2000 }
2001
2002 /** use serialVersionUID from JDK 1.0.2 for interoperability */
2003 @java.io.Serial
2004 @Native private static final long serialVersionUID = 4290774380558885855L;
2005 }
|