Package Summary  Overview Summary

class:ExecutableElement [CHANGED]

method:getTypeParameters-- [NONE]

  • getTypeParameters

    java.util.List<? extends TypeParameterElement> getTypeParameters()
    Returns the formal type parameters of this executable in declaration order.
    Specified by:
    getTypeParameters in interface Parameterizable
    Returns:
    the formal type parameters, or an empty list if there are none

method:getReturnType-- [NONE]

  • getReturnType

    TypeMirror getReturnType()
    Returns the return type of this executable. Returns a NoType with kind VOID if this executable is not a method, or is a method that does not return a value.
    Returns:
    the return type of this executable

method:getParameters-- [NONE]

  • getParameters

    java.util.List<? extends VariableElement> getParameters()
    Returns the formal parameters of this executable. They are returned in declaration order.
    Returns:
    the formal parameters, or an empty list if there are none

method:isVarArgs-- [NONE]

  • isVarArgs

    boolean isVarArgs()
    Returns true if this method or constructor accepts a variable number of arguments and returns false otherwise.
    Returns:
    true if this method or constructor accepts a variable number of arguments and false otherwise

method:getThrownTypes-- [NONE]

  • getThrownTypes

    java.util.List<? extends TypeMirror> getThrownTypes()
    Returns the exceptions and other throwables listed in this method or constructor's throws clause in declaration order.
    Returns:
    the exceptions and other throwables listed in the throws clause, or an empty list if there are none

method:getDefaultValue-- [NONE]

  • getDefaultValue

    AnnotationValue getDefaultValue()
    Returns the default value if this executable is an annotation type element. Returns null if this method is not an annotation type element, or if it is an annotation type element with no default value.
    Returns:
    the default value, or null if none

method:getSimpleName-- [CHANGED]

  • getSimpleName

    Name getSimpleName()
    Returns the simple name of a constructor, method, or initializer. For a constructor, the name "<init>" is returned, for a static initializer, the name "<clinit>" is returned, and for an anonymous class or instance initializer, an empty name is returned.
    Specified by:
    getSimpleName in interface Element
    Returns:
    the simple name of a constructor, method, or initializer

method:getReceiverType-- [ADDED]

  • getReceiverType

    TypeMirror getReceiverType()
    
    Returns the receiver type of this executable, or NoType with kind NONE if the executable has no receiver type. An executable which is an instance method, or a constructor of an inner class, has a receiver type derived from the declaring type . An executable which is a static method, or a constructor of a non-inner class, or an initializer (static or instance), has no receiver type.
    Returns:
    the receiver type of this executable
    Since:
    1.8

method:isDefault-- [ADDED]

  • isDefault

    boolean isDefault()
    
    Returns true if this method is a default method and returns false otherwise.
    Returns:
    true if this method is a default method and false otherwise
    Since:
    1.8