B - The bean typeT - The return type@Internal public abstract class AbstractBeanMethod<B,T> extends Object implements BeanMethod<B,T>
BeanMethod interface.EMPTY| Modifier | Constructor and Description | 
|---|---|
| protected  | AbstractBeanMethod(BeanIntrospection<B> introspection,
                  Argument<T> returnType,
                  String name,
                  AnnotationMetadata annotationMetadata,
                  Argument<?>... arguments)Default constructor. | 
| Modifier and Type | Method and Description | 
|---|---|
| AnnotationMetadata | getAnnotationMetadata()Supplies the metadata. | 
| Argument<?>[] | getArguments()The required argument types. | 
| BeanIntrospection<B> | getDeclaringBean() | 
| String | getName() | 
| ReturnType<T> | getReturnType() | 
| T | invoke(B instance,
      Object... arguments)Invokes the method. | 
| protected abstract T | invokeInternal(B instance,
              Object... arguments)Abstract implementation implemented by generated byte code. | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDeclaringTypefindAnnotation, findAnnotation, findDeclaredAnnotation, findDeclaredAnnotation, isAnnotationPresent, isDeclaredAnnotationPresent, synthesize, synthesizeAll, synthesizeAnnotationsByType, synthesizeDeclared, synthesizeDeclared, synthesizeDeclaredAnnotationsByTypegetAnnotation, getAnnotation, getDeclaredAnnotation, getDeclaredAnnotation, isAnnotationPresent, isDeclaredAnnotationPresent, synthesize, synthesizeDeclaredprotected AbstractBeanMethod(@NonNull BeanIntrospection<B> introspection, @NonNull Argument<T> returnType, @NonNull String name, @Nullable AnnotationMetadata annotationMetadata, @Nullable Argument<?>... arguments)
introspection - The associated introspectionreturnType - The return typename - The name of the methodannotationMetadata - The annotation metadataarguments - The argument types@NonNull public BeanIntrospection<B> getDeclaringBean()
getDeclaringBean in interface BeanMethod<B,T>@NonNull public final ReturnType<T> getReturnType()
getReturnType in interface BeanMethod<B,T>@NonNull public final AnnotationMetadata getAnnotationMetadata()
AnnotationMetadataProviderAnnotationMetadata.EMPTY_METADATA.getAnnotationMetadata in interface AnnotationMetadataProviderAnnotationMetadatapublic final Argument<?>[] getArguments()
ExecutablegetArguments in interface Executable<B,T>public T invoke(@NonNull B instance, Object... arguments)
Executableinvoke in interface Executable<B,T>instance - The instancearguments - The arguments