mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 14:54:52 +02:00
8335938: Review XxxBuilder.original and XxxModel.parent
Reviewed-by: asotona
This commit is contained in:
parent
aabec4a947
commit
22914e0774
12 changed files with 12 additions and 92 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2022, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2022, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
|
@ -25,7 +25,6 @@
|
|||
|
||||
package java.lang.classfile;
|
||||
|
||||
import java.util.Optional;
|
||||
import java.util.function.Consumer;
|
||||
|
||||
import java.lang.classfile.constantpool.Utf8Entry;
|
||||
|
@ -50,12 +49,6 @@ public sealed interface MethodBuilder
|
|||
extends ClassFileBuilder<MethodElement, MethodBuilder>
|
||||
permits ChainedMethodBuilder, TerminalMethodBuilder {
|
||||
|
||||
/**
|
||||
* {@return the {@link MethodModel} representing the method being transformed,
|
||||
* if this method builder represents the transformation of some {@link MethodModel}}
|
||||
*/
|
||||
Optional<MethodModel> original();
|
||||
|
||||
/**
|
||||
* Sets the method access flags.
|
||||
* @param flags the access flags, as a bit mask
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue