Class SpringUtil


  • public class SpringUtil
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      SpringUtil()  
    • Method Summary

      Modifier and Type Method Description
      static void addSpringClassesToStructure​(java.lang.String baseUrl, java.util.Set<javassist.CtClass> springRestController, Structure structure)  
      static boolean checkSpringAnnotation​(javassist.CtMethod ctMethod)  
      static Type getTypeForParameterWithAnnotationCheck​(java.lang.Object[] parameterAnnotation, java.lang.String name)  
      static void setPathAndRequestMethod​(java.lang.String parentPath, javassist.CtMethod ctMethod, Method method)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SpringUtil

        public SpringUtil()
    • Method Detail

      • checkSpringAnnotation

        public static boolean checkSpringAnnotation​(javassist.CtMethod ctMethod)
      • getTypeForParameterWithAnnotationCheck

        public static Type getTypeForParameterWithAnnotationCheck​(java.lang.Object[] parameterAnnotation,
                                                                  java.lang.String name)
      • setPathAndRequestMethod

        public static void setPathAndRequestMethod​(java.lang.String parentPath,
                                                   javassist.CtMethod ctMethod,
                                                   Method method)
                                            throws java.lang.ClassNotFoundException
        Throws:
        java.lang.ClassNotFoundException
      • addSpringClassesToStructure

        public static void addSpringClassesToStructure​(java.lang.String baseUrl,
                                                       java.util.Set<javassist.CtClass> springRestController,
                                                       Structure structure)
                                                throws java.lang.ClassNotFoundException,
                                                       javassist.NotFoundException,
                                                       javassist.CannotCompileException
        Throws:
        java.lang.ClassNotFoundException
        javassist.NotFoundException
        javassist.CannotCompileException