接口 MetadataReaderConsumer
- 函数接口:
- 这是一个函数接口, 因此可用作 lambda 表达式或方法引用的赋值目标。
MetadataReader Consumer
- 从以下版本开始:
- 4.0 2021/12/18 15:19
- 作者:
- Harry Yang
- 另请参阅:
-
MetadataReader
-
方法概要
修饰符和类型方法说明voidaccept(cn.taketoday.core.type.classreading.MetadataReader metadataReader, cn.taketoday.core.type.classreading.MetadataReaderFactory factory) Performs this operation on the given argument.default MetadataReaderConsumerandThen(MetadataReaderConsumer after) Returns a composedConsumerthat performs, in sequence, this operation followed by theafteroperation.
-
方法详细资料
-
accept
void accept(cn.taketoday.core.type.classreading.MetadataReader metadataReader, cn.taketoday.core.type.classreading.MetadataReaderFactory factory) throws IOException Performs this operation on the given argument.- 参数:
metadataReader- the metadata reader for the target classfactory- a factory for obtaining metadata readers for other classes (such as superclasses and interfaces)- 抛出:
IOException
-
andThen
Returns a composedConsumerthat performs, in sequence, this operation followed by theafteroperation. If performing either operation throws an exception, it is relayed to the caller of the composed operation. If performing this operation throws an exception, theafteroperation will not be performed.- 参数:
after- the operation to perform after this operation- 返回:
- a composed
Consumerthat performs in sequence this operation followed by theafteroperation - 抛出:
NullPointerException- ifafteris null- 另请参阅:
-