8023515: import type-annotations updates

Reviewed-by: jjg
This commit is contained in:
Werner Dietl 2013-08-21 16:13:50 -07:00 committed by Jonathan Gibbons
parent c7b90c0ca4
commit 1dc32a077e
14 changed files with 429 additions and 62 deletions

View file

@ -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