类的使用
cn.taketoday.core.MethodParameter
使用MethodParameter的程序包
程序包
说明
Provides core helpers that are not specific to any part of the framework.
Core support package for annotations, meta-annotations, and merged
annotations with attribute overrides.
Optimised Reflection System
-
cn.taketoday.core中MethodParameter的使用
声明为MethodParameter的cn.taketoday.core中的字段修饰符和类型字段说明private MethodParameterSerializableTypeWrapper.MethodParameterTypeProvider.methodParameterprivate MethodParameterMethodParameter.nestedMethodParameter修饰符和类型方法说明MethodParameter.clone()static MethodParameterMethodParameter.forExecutable(Executable executable, int parameterIndex) Create a new MethodParameter for the given method or constructor.static MethodParameterMethodParameter.forFieldAwareConstructor(Constructor<?> ctor, int parameterIndex, String fieldName) Create a new MethodParameter for the given field-aware constructor, e.g. on a data class or record type.static MethodParameterMethodParameter.forParameter(Parameter parameter) Create a new MethodParameter for the given parameter descriptor.MethodParameter.nested()Return a variant of thisMethodParameterwhich points to the same parameter but one nesting level deeper.private MethodParameterReturn a variant of thisMethodParameterwhich points to the same parameter but one nesting level deeper.MethodParameter.nestedIfOptional()Return a variant of thisMethodParameterwhich points to the same parameter but one nesting level deeper in case of aOptionaldeclaration.MethodParameter.withContainingClass(Class<?> containingClass) Return a variant of thisMethodParameterwhich refers to the given containing class.MethodParameter.withTypeIndex(int typeIndex) Return a variant of thisMethodParameterwith the type for the current level set to the specified value.参数类型为MethodParameter的cn.taketoday.core中的方法修饰符和类型方法说明static ResolvableTypeResolvableType.forMethodParameter(MethodParameter methodParameter) Return aResolvableTypefor the specifiedMethodParameter.static ResolvableTypeResolvableType.forMethodParameter(MethodParameter methodParameter, ResolvableType implementationType) Return aResolvableTypefor the specifiedMethodParameterwith a given implementation type.static ResolvableTypeResolvableType.forMethodParameter(MethodParameter methodParameter, Type targetType) Return aResolvableTypefor the specifiedMethodParameter, overriding the target type to resolve with a specific given type.static ResolvableTypeResolvableType.forMethodParameter(MethodParameter methodParameter, Type targetType, int nestingLevel) Return aResolvableTypefor the specifiedMethodParameterat a specific nesting level, overriding the target type to resolve with a specific given type.static TypeSerializableTypeWrapper.forMethodParameter(MethodParameter methodParameter) Return aSerializablevariant ofgetGenericParameterType().static StringConventions.getVariableNameForParameter(MethodParameter parameter) Determine the conventional variable name for the given parameter taking the generic collection type, if any, into account.static TypeDescriptorTypeDescriptor.nested(MethodParameter methodParameter, int nestingLevel) Create a type descriptor for a nested type declared within the method parameter.参数类型为MethodParameter的cn.taketoday.core中的构造器限定符构造器说明MethodParameter(MethodParameter original) Copy constructor, resulting in an independent MethodParameter object based on the same metadata and cache state that the original object was in.MethodParameterTypeProvider(MethodParameter methodParameter) TypeDescriptor(MethodParameter methodParameter) Create a new type descriptor from aMethodParameter. -
cn.taketoday.core.annotation中MethodParameter的使用
修饰符和类型类说明classAMethodParametervariant which synthesizes annotations that declare attribute aliases via@AliasFor. -
cn.taketoday.reflect中MethodParameter的使用
修饰符和类型字段说明private MethodParameterProperty.methodParameterprotected MethodParameterProperty.writeMethodParameter修饰符和类型方法说明Property.getMethodParameter()If method based bean-propertyProperty.getWriteMethodParameter()private MethodParameterProperty.resolveMethodParameter()private MethodParameterProperty.resolveReadMethodParameter()