com.mofum.scope.common.annotation.AnnotationParser Maven / Gradle / Ivy
package com.mofum.scope.common.annotation;
import java.lang.reflect.Field;
import java.lang.reflect.Method;
import java.lang.reflect.Type;
import java.util.List;
import java.util.Map;
/**
* 注解解析器
*
* @author [email protected]
* @since 2018/11/21 0021 13:08
*/
public interface AnnotationParser {
/**
* 解析字段注解
*
* @param input 输入
*
*/
Map parseField(Input input);
/**
* 解析类型注解
*
* @param input 输入
*
*/
Map parseType(Input input);
/**
* 解析方法注解
*
* @param input 输入
*
*/
Map parseMethod(Input input);
/**
* 解析参数注解
*
* @param input 输入
*
*/
Map> parseParams(Input input);
}