All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.datalking.common.meta.AnnotationMetadata Maven / Gradle / Ivy

package com.github.datalking.common.meta;

import java.lang.annotation.Annotation;
import java.util.Map;
import java.util.Set;

/**
 * 注解元数据 接口
 *
 * @author yaoo on 4/9/18
 */
public interface AnnotationMetadata extends ClassMetadata {

    Set getAnnotationTypes();

    boolean hasAnnotation(String annotationName);

    Set getAnnotatedMethods(String annotationName);

    Set getAnnotatedMethods(Class clazz);

    Map getAnnotationAttributes(Class annotationName, boolean classValuesAsString);

    Map getAnnotationAttributes(String annotationName, boolean classValuesAsString);

    Map getAnnotationAttributes(String annotationName);

    Annotation[] getAnnotations();

    boolean isAnnotated(String annotationType);

    Set getMetaAnnotationTypes(String annotationType);

//    boolean hasAnnotatedMethods(String annotationName);

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy