8335938: Review XxxBuilder.original and XxxModel.parent

Reviewed-by: asotona
This commit is contained in:
Chen Liang 2024-07-23 04:59:58 +00:00
parent aabec4a947
commit 22914e0774
12 changed files with 12 additions and 92 deletions

View file

@ -128,12 +128,6 @@ public sealed interface CodeBuilder
extends ClassFileBuilder<CodeElement, CodeBuilder>
permits CodeBuilder.BlockCodeBuilder, ChainedCodeBuilder, TerminalCodeBuilder, NonterminalCodeBuilder {
/**
* {@return the {@link CodeModel} representing the method body being transformed,
* if this code builder represents the transformation of some {@link CodeModel}}
*/
Optional<CodeModel> original();
/** {@return a fresh unbound label} */
Label newLabel();