Interface DelegatingExecutableElement
-
- All Superinterfaces:
AnnotatedConstruct
,DelegatingElement
,Element
,ExecutableElement
,Parameterizable
- All Known Subinterfaces:
MessageMethod
public interface DelegatingExecutableElement extends ExecutableElement, DelegatingElement
A delegatingExecutableElement
interface. All methods are invoked on the delegate element by default.- Author:
- James R. Perkins
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default TypeMirror
asType()
default AnnotationValue
getDefaultValue()
ExecutableElement
getDelegate()
The element to delegate the default methods to.default List<? extends VariableElement>
getParameters()
default TypeMirror
getReceiverType()
default TypeMirror
getReturnType()
default Name
getSimpleName()
default List<? extends TypeMirror>
getThrownTypes()
default List<? extends TypeParameterElement>
getTypeParameters()
default boolean
isDefault()
default boolean
isVarArgs()
-
Methods inherited from interface org.jboss.logging.processor.model.DelegatingElement
accept, getAnnotation, getAnnotationMirrors, getAnnotationsByType, getEnclosedElements, getEnclosingElement, getKind, getModifiers, isAnnotatedWith
-
-
-
-
Method Detail
-
getDelegate
ExecutableElement getDelegate()
Description copied from interface:DelegatingElement
The element to delegate the default methods to.- Specified by:
getDelegate
in interfaceDelegatingElement
- Returns:
- the delegate
-
asType
default TypeMirror asType()
- Specified by:
asType
in interfaceDelegatingElement
- Specified by:
asType
in interfaceElement
-
getTypeParameters
default List<? extends TypeParameterElement> getTypeParameters()
- Specified by:
getTypeParameters
in interfaceExecutableElement
- Specified by:
getTypeParameters
in interfaceParameterizable
-
getReturnType
default TypeMirror getReturnType()
- Specified by:
getReturnType
in interfaceExecutableElement
-
getParameters
default List<? extends VariableElement> getParameters()
- Specified by:
getParameters
in interfaceExecutableElement
-
getReceiverType
default TypeMirror getReceiverType()
- Specified by:
getReceiverType
in interfaceExecutableElement
-
isVarArgs
default boolean isVarArgs()
- Specified by:
isVarArgs
in interfaceExecutableElement
-
isDefault
default boolean isDefault()
- Specified by:
isDefault
in interfaceExecutableElement
-
getThrownTypes
default List<? extends TypeMirror> getThrownTypes()
- Specified by:
getThrownTypes
in interfaceExecutableElement
-
getDefaultValue
default AnnotationValue getDefaultValue()
- Specified by:
getDefaultValue
in interfaceExecutableElement
-
getSimpleName
default Name getSimpleName()
- Specified by:
getSimpleName
in interfaceDelegatingElement
- Specified by:
getSimpleName
in interfaceElement
- Specified by:
getSimpleName
in interfaceExecutableElement
-
-