org.reflections.adapters.MetadataAdapter Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of swagger-all Show documentation
Show all versions of swagger-all Show documentation
swagger-all is a rebundled verison of Swagger as one OSGi bundle.
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);
}