Class MetadataAdapterInMemory

  • All Implemented Interfaces:
    org.reflections.adapters.MetadataAdapter<Class<?>,​Field,​Method>

    public class MetadataAdapterInMemory
    extends Object
    implements org.reflections.adapters.MetadataAdapter<Class<?>,​Field,​Method>
    Author:
    epo.jemba@kametic.com
    • Constructor Detail

      • MetadataAdapterInMemory

        public MetadataAdapterInMemory()
    • Method Detail

      • getClassName

        public String getClassName​(Class<?> cls)
        Specified by:
        getClassName in interface org.reflections.adapters.MetadataAdapter<Class<?>,​Field,​Method>
      • getSuperclassName

        public String getSuperclassName​(Class<?> cls)
        Specified by:
        getSuperclassName in interface org.reflections.adapters.MetadataAdapter<Class<?>,​Field,​Method>
      • getInterfacesNames

        public List<String> getInterfacesNames​(Class<?> cls)
        Specified by:
        getInterfacesNames in interface org.reflections.adapters.MetadataAdapter<Class<?>,​Field,​Method>
      • getFields

        public List<Field> getFields​(Class<?> cls)
        Specified by:
        getFields in interface org.reflections.adapters.MetadataAdapter<Class<?>,​Field,​Method>
      • getMethods

        public List<Method> getMethods​(Class<?> cls)
        Specified by:
        getMethods in interface org.reflections.adapters.MetadataAdapter<Class<?>,​Field,​Method>
      • getMethodName

        public String getMethodName​(Method method)
        Specified by:
        getMethodName in interface org.reflections.adapters.MetadataAdapter<Class<?>,​Field,​Method>
      • getParameterNames

        public List<String> getParameterNames​(Method method)
        Specified by:
        getParameterNames in interface org.reflections.adapters.MetadataAdapter<Class<?>,​Field,​Method>
      • getClassAnnotationNames

        public List<String> getClassAnnotationNames​(Class<?> aClass)
        Specified by:
        getClassAnnotationNames in interface org.reflections.adapters.MetadataAdapter<Class<?>,​Field,​Method>
      • getFieldAnnotationNames

        public List<String> getFieldAnnotationNames​(Field field)
        Specified by:
        getFieldAnnotationNames in interface org.reflections.adapters.MetadataAdapter<Class<?>,​Field,​Method>
      • getMethodAnnotationNames

        public List<String> getMethodAnnotationNames​(Method method)
        Specified by:
        getMethodAnnotationNames in interface org.reflections.adapters.MetadataAdapter<Class<?>,​Field,​Method>
      • getParameterAnnotationNames

        public List<String> getParameterAnnotationNames​(Method method,
                                                        int parameterIndex)
        Specified by:
        getParameterAnnotationNames in interface org.reflections.adapters.MetadataAdapter<Class<?>,​Field,​Method>
      • getReturnTypeName

        public String getReturnTypeName​(Method method)
        Specified by:
        getReturnTypeName in interface org.reflections.adapters.MetadataAdapter<Class<?>,​Field,​Method>
      • getFieldName

        public String getFieldName​(Field field)
        Specified by:
        getFieldName in interface org.reflections.adapters.MetadataAdapter<Class<?>,​Field,​Method>
      • getOfCreateClassObject

        public Class<?> getOfCreateClassObject​(org.reflections.vfs.Vfs.File file)
                                        throws Exception
        Specified by:
        getOfCreateClassObject in interface org.reflections.adapters.MetadataAdapter<Class<?>,​Field,​Method>
        Throws:
        Exception
      • getMethodModifier

        public String getMethodModifier​(Method method)
        Specified by:
        getMethodModifier in interface org.reflections.adapters.MetadataAdapter<Class<?>,​Field,​Method>
      • getMethodKey

        public String getMethodKey​(Class<?> cls,
                                   Method method)
        Specified by:
        getMethodKey in interface org.reflections.adapters.MetadataAdapter<Class<?>,​Field,​Method>
      • getMethodFullKey

        public String getMethodFullKey​(Class<?> cls,
                                       Method method)
        Specified by:
        getMethodFullKey in interface org.reflections.adapters.MetadataAdapter<Class<?>,​Field,​Method>
      • isPublic

        public boolean isPublic​(Object o)
        Specified by:
        isPublic in interface org.reflections.adapters.MetadataAdapter<Class<?>,​Field,​Method>
      • acceptsInput

        public boolean acceptsInput​(String file)
        Specified by:
        acceptsInput in interface org.reflections.adapters.MetadataAdapter<Class<?>,​Field,​Method>