mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-20 19:14:38 +02:00
8023515: import type-annotations updates
Reviewed-by: jjg
This commit is contained in:
parent
c7b90c0ca4
commit
1dc32a077e
14 changed files with 429 additions and 62 deletions
|
@ -53,7 +53,15 @@ public interface MethodTree extends Tree {
|
|||
Tree getReturnType();
|
||||
List<? extends TypeParameterTree> getTypeParameters();
|
||||
List<? extends VariableTree> getParameters();
|
||||
|
||||
/**
|
||||
* Return an explicit receiver parameter ("this" parameter).
|
||||
*
|
||||
* @return an explicit receiver parameter ("this" parameter)
|
||||
* @since 1.8
|
||||
*/
|
||||
VariableTree getReceiverParameter();
|
||||
|
||||
List<? extends ExpressionTree> getThrows();
|
||||
BlockTree getBody();
|
||||
Tree getDefaultValue(); // for annotation types
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue