Class JsonGenerator

  • Direct Known Subclasses:
    GradleJsonGenerator

    public abstract class JsonGenerator
    extends java.lang.Object
    based on headcrab89/microservices
    • Constructor Summary

      Constructors 
      Constructor Description
      JsonGenerator()  
    • Method Summary

      Modifier and Type Method Description
      Structure getServiceInformation()  
      static java.lang.String getType​(javassist.CtClass ctClass, javassist.CtMember ctMember, Structure structure)  
      void init()  
      java.lang.String json()  
      • Methods inherited from class java.lang.Object

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

      • JsonGenerator

        public JsonGenerator()
    • Method Detail

      • init

        public void init()
                  throws java.lang.Exception
        Throws:
        java.lang.Exception
      • json

        public java.lang.String json()
                              throws java.lang.Exception
        Throws:
        java.lang.Exception
      • getServiceInformation

        public Structure getServiceInformation()
                                        throws javassist.NotFoundException,
                                               java.lang.ClassNotFoundException
        Throws:
        javassist.NotFoundException
        java.lang.ClassNotFoundException
      • getType

        public static java.lang.String getType​(javassist.CtClass ctClass,
                                               javassist.CtMember ctMember,
                                               Structure structure)
                                        throws javassist.NotFoundException,
                                               javassist.CannotCompileException
        Throws:
        javassist.NotFoundException
        javassist.CannotCompileException