< prev index next >

src/java.base/share/classes/java/lang/constant/ReferenceClassDescImpl.java

Print this page

        

*** 24,33 **** --- 24,37 ---- */ package java.lang.constant; import java.lang.invoke.MethodHandles; + import java.lang.invoke.MethodHandles; + import java.util.Optional; + + import static java.lang.constant.ConstantDescs.BSM_INVOKE; import static java.lang.constant.ConstantUtils.dropFirstAndLastChar; import static java.lang.constant.ConstantUtils.internalToBinary; import static java.util.Objects.requireNonNull; /**
*** 106,111 **** --- 110,120 ---- @Override public String toString() { return String.format("ClassDesc[%s]", displayName()); } + + @Override + public Optional<? extends ConstantDesc> describeConstable() { + return Optional.empty(); + } }
< prev index next >