1840 */
1841 @Override
1842 public Optional<Integer> describeConstable() {
1843 return Optional.of(this);
1844 }
1845
1846 /**
1847 * Resolves this instance as a {@link ConstantDesc}, the result of which is
1848 * the instance itself.
1849 *
1850 * @param lookup ignored
1851 * @return the {@linkplain Integer} instance
1852 * @since 12
1853 */
1854 @Override
1855 public Integer resolveConstantDesc(MethodHandles.Lookup lookup) {
1856 return this;
1857 }
1858
1859 /** use serialVersionUID from JDK 1.0.2 for interoperability */
1860 @Native private static final long serialVersionUID = 1360826667806852920L;
1861 }
|
1840 */
1841 @Override
1842 public Optional<Integer> describeConstable() {
1843 return Optional.of(this);
1844 }
1845
1846 /**
1847 * Resolves this instance as a {@link ConstantDesc}, the result of which is
1848 * the instance itself.
1849 *
1850 * @param lookup ignored
1851 * @return the {@linkplain Integer} instance
1852 * @since 12
1853 */
1854 @Override
1855 public Integer resolveConstantDesc(MethodHandles.Lookup lookup) {
1856 return this;
1857 }
1858
1859 /** use serialVersionUID from JDK 1.0.2 for interoperability */
1860 @java.io.Serial
1861 @Native private static final long serialVersionUID = 1360826667806852920L;
1862 }
|