test_class.file: herd-build/herd-swaggergen-maven-plugin/src/test/java/org/finra/herd/swaggergen/RestControllerProcessorTest.java
test_class.identifier: RestControllerProcessorTest
test_class.superclass: extends AbstractTest
test_case.body: @Test
      public void test_1() throws Exception
      {
          Swagger swagger = new Swagger();
          String restJavaPackage = "org.finra.herd.swaggergen.test.restControllerProcessor.case1";
          String tagPatternTemplate = "(?<tag>.+?)RestController";
          Class<?> modelErrorClass = BasicCase.class;
          RestControllerProcessor restControllerProcessor = new RestControllerProcessor(LOG, swagger, restJavaPackage, tagPatternTemplate, modelErrorClass);
  
          assertEquals(getResourceAsString("/yaml2.yaml"), toYaml(swagger));
          Set<String> exampleClassNames = restControllerProcessor.getExampleClassNames();
          assertNotNull(exampleClassNames);
          assertEquals(1, exampleClassNames.size());
          assertTrue(exampleClassNames.contains("BasicCase"));
      }
test_case.class_method_signature: RestControllerProcessorTest.test_1()
test_case.full_signature: @Test public void test_1()
test_case.identifier: test_1
test_case.invocations: assertEquals getResourceAsString toYaml getExampleClassNames assertNotNull assertEquals size assertTrue contains
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void test_1()
focal_class.declarator: log
focal_class.modifier: @SuppressWarnings("PMD.ProperLogger") // Logger is passed into this method from Mojo base class.
      private
focal_class.original_string: @SuppressWarnings("PMD.ProperLogger") // Logger is passed into this method from Mojo base class.
      private Log log;
focal_class.type: Log
focal_class.var_name: log
focal_class.declarator: swagger
focal_class.modifier: private
focal_class.original_string: private Swagger swagger;
focal_class.type: Swagger
focal_class.var_name: swagger
focal_class.declarator: restJavaPackage
focal_class.modifier: private
focal_class.original_string: private String restJavaPackage;
focal_class.type: String
focal_class.var_name: restJavaPackage
focal_class.declarator: tagPattern
focal_class.modifier: private
focal_class.original_string: private Pattern tagPattern;
focal_class.type: Pattern
focal_class.var_name: tagPattern
focal_class.declarator: sourceMap = new HashMap<>()
focal_class.modifier: private
focal_class.original_string: private Map<String, JavaClassSource> sourceMap = new HashMap<>();
focal_class.type: Map<String, JavaClassSource>
focal_class.var_name: sourceMap
focal_class.declarator: exampleClassNames = new HashSet<>()
focal_class.modifier: private
focal_class.original_string: private Set<String> exampleClassNames = new HashSet<>();
focal_class.type: Set<String>
focal_class.var_name: exampleClassNames
focal_class.declarator: modelErrorClass
focal_class.modifier: private
focal_class.original_string: private Class<?> modelErrorClass;
focal_class.type: Class<?>
focal_class.var_name: modelErrorClass
focal_class.declarator: operationIds = new HashSet<>()
focal_class.modifier: private
focal_class.original_string: private Set<String> operationIds = new HashSet<>();
focal_class.type: Set<String>
focal_class.var_name: operationIds
focal_class.file: herd-build/herd-swaggergen-maven-plugin/src/main/java/org/finra/herd/swaggergen/RestControllerProcessor.java
focal_class.identifier: RestControllerProcessor
focal_class.class_method_signature: RestControllerProcessor.RestControllerProcessor(Log log, Swagger swagger, String restJavaPackage, String tagPatternTemplate, Class<?> modelErrorClass)
focal_class.full_signature: public  RestControllerProcessor(Log log, Swagger swagger, String restJavaPackage, String tagPatternTemplate, Class<?> modelErrorClass)
focal_class.identifier: RestControllerProcessor
focal_class.modifiers: public
focal_class.parameters: (Log log, Swagger swagger, String restJavaPackage, String tagPatternTemplate, Class<?> modelErrorClass)
focal_class.signature:  RestControllerProcessor(Log log, Swagger swagger, String restJavaPackage, String tagPatternTemplate, Class<?> modelErrorClass)
focal_class.class_method_signature: RestControllerProcessor.findAndProcessRestControllers()
focal_class.full_signature: private void findAndProcessRestControllers()
focal_class.identifier: findAndProcessRestControllers
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void findAndProcessRestControllers()
focal_class.class_method_signature: RestControllerProcessor.processRestControllerClass(Class<?> clazz)
focal_class.full_signature: private void processRestControllerClass(Class<?> clazz)
focal_class.identifier: processRestControllerClass
focal_class.modifiers: private
focal_class.parameters: (Class<?> clazz)
focal_class.return: void
focal_class.signature: void processRestControllerClass(Class<?> clazz)
focal_class.class_method_signature: RestControllerProcessor.processRestControllerMethod(Method method, RequestMapping classRequestMapping, String tagName, MethodSource<JavaClassSource> methodSource)
focal_class.full_signature: @SuppressWarnings("unchecked") // CollectionUtils doesn't work with generics. private void processRestControllerMethod(Method method, RequestMapping classRequestMapping, String tagName, MethodSource<JavaClassSource> methodSource)
focal_class.identifier: processRestControllerMethod
focal_class.modifiers: @SuppressWarnings("unchecked") // CollectionUtils doesn't work with generics. private
focal_class.parameters: (Method method, RequestMapping classRequestMapping, String tagName, MethodSource<JavaClassSource> methodSource)
focal_class.return: void
focal_class.signature: void processRestControllerMethod(Method method, RequestMapping classRequestMapping, String tagName, MethodSource<JavaClassSource> methodSource)
focal_class.class_method_signature: RestControllerProcessor.processJavaDocTag(JavaDocTag javaDocTag, Map<String, String> methodParamDescriptions)
focal_class.full_signature: private void processJavaDocTag(JavaDocTag javaDocTag, Map<String, String> methodParamDescriptions)
focal_class.identifier: processJavaDocTag
focal_class.modifiers: private
focal_class.parameters: (JavaDocTag javaDocTag, Map<String, String> methodParamDescriptions)
focal_class.return: void
focal_class.signature: void processJavaDocTag(JavaDocTag javaDocTag, Map<String, String> methodParamDescriptions)
focal_class.class_method_signature: RestControllerProcessor.processFragments(List fragments, StringBuilder stringBuilder)
focal_class.full_signature: private void processFragments(List fragments, StringBuilder stringBuilder)
focal_class.identifier: processFragments
focal_class.modifiers: private
focal_class.parameters: (List fragments, StringBuilder stringBuilder)
focal_class.return: void
focal_class.signature: void processFragments(List fragments, StringBuilder stringBuilder)
focal_class.class_method_signature: RestControllerProcessor.setOperationId(String tagName, Method method, Operation operation)
focal_class.full_signature: private void setOperationId(String tagName, Method method, Operation operation)
focal_class.identifier: setOperationId
focal_class.modifiers: private
focal_class.parameters: (String tagName, Method method, Operation operation)
focal_class.return: void
focal_class.signature: void setOperationId(String tagName, Method method, Operation operation)
focal_class.class_method_signature: RestControllerProcessor.processRestMethodParameter(ParameterSource<JavaClassSource> parameterSource, Operation operation, Map<String, String> methodParamDescriptions)
focal_class.full_signature: private void processRestMethodParameter(ParameterSource<JavaClassSource> parameterSource, Operation operation, Map<String, String> methodParamDescriptions)
focal_class.identifier: processRestMethodParameter
focal_class.modifiers: private
focal_class.parameters: (ParameterSource<JavaClassSource> parameterSource, Operation operation, Map<String, String> methodParamDescriptions)
focal_class.return: void
focal_class.signature: void processRestMethodParameter(ParameterSource<JavaClassSource> parameterSource, Operation operation, Map<String, String> methodParamDescriptions)
focal_class.class_method_signature: RestControllerProcessor.setParameterType(ParameterSource<JavaClassSource> parameterSource, SerializableParameter swaggerParam)
focal_class.full_signature: private void setParameterType(ParameterSource<JavaClassSource> parameterSource, SerializableParameter swaggerParam)
focal_class.identifier: setParameterType
focal_class.modifiers: private
focal_class.parameters: (ParameterSource<JavaClassSource> parameterSource, SerializableParameter swaggerParam)
focal_class.return: void
focal_class.signature: void setParameterType(ParameterSource<JavaClassSource> parameterSource, SerializableParameter swaggerParam)
focal_class.class_method_signature: RestControllerProcessor.setParamDescription(ParameterSource<JavaClassSource> parameterSource, Map<String, String> methodParamDescriptions,
          io.swagger.models.parameters.Parameter swaggerParam)
focal_class.full_signature: private void setParamDescription(ParameterSource<JavaClassSource> parameterSource, Map<String, String> methodParamDescriptions,
          io.swagger.models.parameters.Parameter swaggerParam)
focal_class.identifier: setParamDescription
focal_class.modifiers: private
focal_class.parameters: (ParameterSource<JavaClassSource> parameterSource, Map<String, String> methodParamDescriptions,
          io.swagger.models.parameters.Parameter swaggerParam)
focal_class.return: void
focal_class.signature: void setParamDescription(ParameterSource<JavaClassSource> parameterSource, Map<String, String> methodParamDescriptions,
          io.swagger.models.parameters.Parameter swaggerParam)
focal_class.class_method_signature: RestControllerProcessor.processRestMethodReturnValue(Class<?> returnType, Operation operation, String returnDescription)
focal_class.full_signature: private void processRestMethodReturnValue(Class<?> returnType, Operation operation, String returnDescription)
focal_class.identifier: processRestMethodReturnValue
focal_class.modifiers: private
focal_class.parameters: (Class<?> returnType, Operation operation, String returnDescription)
focal_class.return: void
focal_class.signature: void processRestMethodReturnValue(Class<?> returnType, Operation operation, String returnDescription)
focal_class.class_method_signature: RestControllerProcessor.getClassOrMethodValue(T classLevel, T methodLevel)
focal_class.full_signature: private T getClassOrMethodValue(T classLevel, T methodLevel)
focal_class.identifier: getClassOrMethodValue
focal_class.modifiers: private
focal_class.parameters: (T classLevel, T methodLevel)
focal_class.return: T
focal_class.signature: T getClassOrMethodValue(T classLevel, T methodLevel)
focal_class.class_method_signature: RestControllerProcessor.getXmlType(Class<?> clazz)
focal_class.full_signature: private XmlType getXmlType(Class<?> clazz)
focal_class.identifier: getXmlType
focal_class.modifiers: private
focal_class.parameters: (Class<?> clazz)
focal_class.return: XmlType
focal_class.signature: XmlType getXmlType(Class<?> clazz)
focal_class.class_method_signature: RestControllerProcessor.getExampleClassNames()
focal_class.full_signature: public Set<String> getExampleClassNames()
focal_class.identifier: getExampleClassNames
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: Set<String>
focal_class.signature: Set<String> getExampleClassNames()
focal_method.body: public Set<String> getExampleClassNames()
      {
          return exampleClassNames;
      }
focal_method.class_method_signature: RestControllerProcessor.getExampleClassNames()
focal_method.full_signature: public Set<String> getExampleClassNames()
focal_method.identifier: getExampleClassNames
focal_method.modifiers: public
focal_method.parameters: ()
focal_method.return: Set<String>
focal_method.signature: Set<String> getExampleClassNames()