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

org.reflections.adapters.MetadataAdapter Maven / Gradle / Ivy

The newest version!
package org.reflections.adapters;

import org.reflections.vfs.Vfs;

import java.util.List;

/**
 *
 */
public interface MetadataAdapter {

    //
    String getClassName(final C cls);

    String getSuperclassName(final C cls);

    List getInterfacesNames(final C cls);

    //
    List getFields(final C cls);

    List getMethods(final C cls);

    String getMethodName(final M method);

    List getParameterNames(final M method);

    List getClassAnnotationNames(final C aClass);

    List getFieldAnnotationNames(final F field);

    List getMethodAnnotationNames(final M method);

    List getParameterAnnotationNames(final M method, final int parameterIndex);

    String getReturnTypeName(final M method);

    String getFieldName(final F field);

    C getOfCreateClassObject(Vfs.File file) throws Exception;

    String getMethodModifier(M method);

    String getMethodKey(C cls, M method);

    String getMethodFullKey(C cls, M method);

    boolean isPublic(Object o);
    
    boolean acceptsInput(String file);
    
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy