langtools/src/share/classes/javax/lang/model/type/ExecutableType.java
changeset 15385 ee1eebe7e210
parent 5520 86e4b9a9da40
child 16556 f4adc5bb4652
equal deleted inserted replaced
15384:5a8d00abf076 15385:ee1eebe7e210
     1 /*
     1 /*
     2  * Copyright (c) 2005, 2006, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2005, 2013, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.  Oracle designates this
     7  * published by the Free Software Foundation.  Oracle designates this
    76      *          or an empty list if there are none
    76      *          or an empty list if there are none
    77      */
    77      */
    78     List<? extends TypeMirror> getParameterTypes();
    78     List<? extends TypeMirror> getParameterTypes();
    79 
    79 
    80     /**
    80     /**
       
    81      * Returns the type of this executable's receiver parameter.
       
    82      *
       
    83      * @return the type of this executable's receiver parameter
       
    84      * TODO: null if none specified or always a valid value?
       
    85      */
       
    86     TypeMirror getReceiverType();
       
    87 
       
    88     /**
    81      * Returns the exceptions and other throwables listed in this
    89      * Returns the exceptions and other throwables listed in this
    82      * executable's {@code throws} clause.
    90      * executable's {@code throws} clause.
    83      *
    91      *
    84      * @return the exceptions and other throwables listed in this
    92      * @return the exceptions and other throwables listed in this
    85      *          executable's {@code throws} clause,
    93      *          executable's {@code throws} clause,