public interface BeanMethodElement extends MethodElement
EMPTY_ELEMENT_ARRAYCLASS_NAME_SUFFIX, EMPTY_METADATA, VALUE_MEMBEREMPTY| Modifier and Type | Method and Description |
|---|---|
default BeanMethodElement |
executable()
Make the method executable.
|
default BeanMethodElement |
executable(boolean processOnStartup)
Make the method executable.
|
BeanParameterElement[] |
getParameters() |
default BeanMethodElement |
inject()
Make the method injected.
|
default BeanMethodElement |
postConstruct()
Make the method a
PostConstruct hook. |
default BeanMethodElement |
preDestroy()
Make the method a
PreDestroy hook. |
default BeanMethodElement |
withParameters(Consumer<BeanParameterElement[]> parameterConsumer)
Process the bean parameters.
|
addAssociatedBean, getDeclaredTypeVariables, getDescription, getGenericReturnType, getReceiverType, getReturnType, getSuspendParameters, getThrownTypes, hasParameters, isDefault, isSuspend, of, overrides, withNewParametersgetDeclaringType, getModifiers, getOwningType, isReflectionRequired, isReflectionRequiredannotate, annotate, annotate, annotate, annotate, getDescription, getDocumentation, getName, getNativeType, getSimpleName, isAbstract, isFinal, isPackagePrivate, isPrivate, isProtected, isPublic, isStatic, removeAnnotation, removeAnnotation, removeAnnotationIf, removeStereotype, removeStereotypebooleanValue, booleanValue, booleanValue, booleanValue, classValue, classValue, classValue, classValue, classValues, classValues, classValues, classValues, doubleValue, doubleValue, doubleValue, enumValue, enumValue, enumValue, enumValue, enumValues, enumValues, enumValues, enumValues, findAnnotation, findAnnotation, findDeclaredAnnotation, findDeclaredAnnotation, findRepeatableAnnotation, findRepeatableAnnotation, getAnnotation, getAnnotation, getAnnotationNameByStereotype, getAnnotationNameByStereotype, getAnnotationNames, getAnnotationNamesByStereotype, getAnnotationNamesByStereotype, getAnnotationType, getAnnotationType, getAnnotationTypeByStereotype, getAnnotationTypeByStereotype, getAnnotationTypesByStereotype, getAnnotationTypesByStereotype, getAnnotationTypesByStereotype, getAnnotationValuesByType, getDeclaredAnnotation, getDeclaredAnnotation, getDeclaredAnnotationNameByStereotype, getDeclaredAnnotationNames, getDeclaredAnnotationNamesByStereotype, getDeclaredAnnotationTypeByStereotype, getDeclaredAnnotationTypeByStereotype, getDeclaredAnnotationValuesByType, getDeclaredMetadata, getDeclaredStereotypeAnnotationNames, getDefaultValue, getDefaultValue, getDefaultValue, getDefaultValue, getDefaultValues, getStereotypeAnnotationNames, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValues, getValues, hasAnnotation, hasAnnotation, hasDeclaredAnnotation, hasDeclaredAnnotation, hasDeclaredStereotype, hasDeclaredStereotype, hasDeclaredStereotype, hasPropertyExpressions, hasSimpleAnnotation, hasSimpleDeclaredAnnotation, hasStereotype, hasStereotype, hasStereotype, hasStereotype, intValue, intValue, intValue, isAnnotationPresent, isDeclaredAnnotationPresent, isEmpty, isFalse, isFalse, isPresent, isPresent, isRepeatableAnnotation, isRepeatableAnnotation, isTrue, isTrue, longValue, longValue, stringValue, stringValue, stringValue, stringValue, stringValues, stringValues, stringValues, stringValues, synthesize, synthesize, synthesizeAll, synthesizeAnnotationsByType, synthesizeDeclared, synthesizeDeclared, synthesizeDeclared, synthesizeDeclaredAnnotationsByTypegetAnnotationValuesByName, getDeclaredAnnotationValuesByName, getValues, hasDeclaredStereotype, isAnnotationPresent, isDeclaredAnnotationPresentisDeclaredNonNull, isDeclaredNullable, isNonNull, isNullablegetAnnotationMetadata@NonNull default BeanMethodElement executable()
@NonNull default BeanMethodElement executable(boolean processOnStartup)
processOnStartup - Whether to process on startup@NonNull default BeanMethodElement inject()
@NonNull default BeanMethodElement preDestroy()
PreDestroy hook.@NonNull default BeanMethodElement postConstruct()
PostConstruct hook.@NonNull default BeanMethodElement withParameters(@NonNull Consumer<BeanParameterElement[]> parameterConsumer)
parameterConsumer - The parameter consumer@NonNull BeanParameterElement[] getParameters()
getParameters in interface MethodElement