test_class.file: series/src/test/java/com/barchart/feed/series/network/AnalyticNodeDescriptorTest.java
test_class.identifier: AnalyticNodeDescriptorTest
test_case.body: @Test
      public void testInstantiateAnalytic() {
         String entry = "PivotPointOverlay;PP_S3L,Overlay,Base;com.barchart.feed.series.analytics.PivotPoint;2;Support3;Overlay,IO;Base,IO";
         AnalyticNodeDescriptor desc = NetworkSchema.loadDescriptor(entry.split(";"));
         assertNotNull(desc);
         
         Analytic analytic = desc.instantiateAnalytic();
         assertNotNull(analytic);
      }
test_case.class_method_signature: AnalyticNodeDescriptorTest.testInstantiateAnalytic()
test_case.full_signature: @Test public void testInstantiateAnalytic()
test_case.identifier: testInstantiateAnalytic
test_case.invocations: loadDescriptor split assertNotNull instantiateAnalytic assertNotNull
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testInstantiateAnalytic()
focal_class.declarator: networkName
focal_class.modifier: private
focal_class.original_string: private String networkName;
focal_class.type: String
focal_class.var_name: networkName
focal_class.declarator: nodeName
focal_class.modifier: private
focal_class.original_string: private String nodeName;
focal_class.type: String
focal_class.var_name: nodeName
focal_class.declarator: analyticClass
focal_class.modifier: private
focal_class.original_string: private Class<? extends Analytic> analyticClass;
focal_class.type: Class<? extends Analytic>
focal_class.var_name: analyticClass
focal_class.declarator: constructorArgs = new int[0]
focal_class.modifier: private
focal_class.original_string: private int[] constructorArgs = new int[0];
focal_class.type: int[]
focal_class.var_name: constructorArgs
focal_class.declarator: outputKey
focal_class.modifier: private
focal_class.original_string: private String outputKey;
focal_class.type: String
focal_class.var_name: outputKey
focal_class.declarator: timeFrames
focal_class.modifier: private
focal_class.original_string: private String[] timeFrames;
focal_class.type: String[]
focal_class.var_name: timeFrames
focal_class.declarator: inputDescriptors
focal_class.modifier: private
focal_class.original_string: private Map<String,AnalyticNodeDescriptor> inputDescriptors;
focal_class.type: Map<String,AnalyticNodeDescriptor>
focal_class.var_name: inputDescriptors
focal_class.declarator: inputTimeFrames
focal_class.modifier: private
focal_class.original_string: private Map<String,String[]> inputTimeFrames;
focal_class.type: Map<String,String[]>
focal_class.var_name: inputTimeFrames
focal_class.file: series/src/main/java/com/barchart/feed/series/network/AnalyticNodeDescriptor.java
focal_class.identifier: AnalyticNodeDescriptor
focal_class.interfaces: implements AnalyticDescriptor
focal_class.class_method_signature: AnalyticNodeDescriptor.AnalyticNodeDescriptor(String networkName, String nodeName)
focal_class.full_signature: public  AnalyticNodeDescriptor(String networkName, String nodeName)
focal_class.identifier: AnalyticNodeDescriptor
focal_class.modifiers: public
focal_class.parameters: (String networkName, String nodeName)
focal_class.signature:  AnalyticNodeDescriptor(String networkName, String nodeName)
focal_class.class_method_signature: AnalyticNodeDescriptor.getSpecifier()
focal_class.full_signature: @Override public String getSpecifier()
focal_class.identifier: getSpecifier
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getSpecifier()
focal_class.class_method_signature: AnalyticNodeDescriptor.getType()
focal_class.full_signature: @Override public NodeType getType()
focal_class.identifier: getType
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: NodeType
focal_class.signature: NodeType getType()
focal_class.class_method_signature: AnalyticNodeDescriptor.getNetworkName()
focal_class.full_signature: public String getNetworkName()
focal_class.identifier: getNetworkName
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getNetworkName()
focal_class.class_method_signature: AnalyticNodeDescriptor.setNetworkName(String name)
focal_class.full_signature: public void setNetworkName(String name)
focal_class.identifier: setNetworkName
focal_class.modifiers: public
focal_class.parameters: (String name)
focal_class.return: void
focal_class.signature: void setNetworkName(String name)
focal_class.class_method_signature: AnalyticNodeDescriptor.getTimeFrames()
focal_class.full_signature: public String[] getTimeFrames()
focal_class.identifier: getTimeFrames
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: String[]
focal_class.signature: String[] getTimeFrames()
focal_class.class_method_signature: AnalyticNodeDescriptor.setTimeFrames(String[] timeFrames)
focal_class.full_signature: public void setTimeFrames(String[] timeFrames)
focal_class.identifier: setTimeFrames
focal_class.modifiers: public
focal_class.parameters: (String[] timeFrames)
focal_class.return: void
focal_class.signature: void setTimeFrames(String[] timeFrames)
focal_class.class_method_signature: AnalyticNodeDescriptor.getAnalyticClass()
focal_class.full_signature: @Override public Class<? extends Analytic> getAnalyticClass()
focal_class.identifier: getAnalyticClass
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: Class<? extends Analytic>
focal_class.signature: Class<? extends Analytic> getAnalyticClass()
focal_class.class_method_signature: AnalyticNodeDescriptor.setAnalyticClass(Class<? extends Analytic> clazz)
focal_class.full_signature: @Override public void setAnalyticClass(Class<? extends Analytic> clazz)
focal_class.identifier: setAnalyticClass
focal_class.modifiers: @Override public
focal_class.parameters: (Class<? extends Analytic> clazz)
focal_class.return: void
focal_class.signature: void setAnalyticClass(Class<? extends Analytic> clazz)
focal_class.class_method_signature: AnalyticNodeDescriptor.getConstructorArgs()
focal_class.full_signature: @Override public int[] getConstructorArgs()
focal_class.identifier: getConstructorArgs
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: int[]
focal_class.signature: int[] getConstructorArgs()
focal_class.class_method_signature: AnalyticNodeDescriptor.setConstructorArgs(int[] args)
focal_class.full_signature: @Override public void setConstructorArgs(int[] args)
focal_class.identifier: setConstructorArgs
focal_class.modifiers: @Override public
focal_class.parameters: (int[] args)
focal_class.return: void
focal_class.signature: void setConstructorArgs(int[] args)
focal_class.class_method_signature: AnalyticNodeDescriptor.getOutputKey()
focal_class.full_signature: public String getOutputKey()
focal_class.identifier: getOutputKey
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getOutputKey()
focal_class.class_method_signature: AnalyticNodeDescriptor.setOutputKey(String key)
focal_class.full_signature: public void setOutputKey(String key)
focal_class.identifier: setOutputKey
focal_class.modifiers: public
focal_class.parameters: (String key)
focal_class.return: void
focal_class.signature: void setOutputKey(String key)
focal_class.class_method_signature: AnalyticNodeDescriptor.mapInputDescriptor(String key, AnalyticNodeDescriptor desc)
focal_class.full_signature: public void mapInputDescriptor(String key, AnalyticNodeDescriptor desc)
focal_class.identifier: mapInputDescriptor
focal_class.modifiers: public
focal_class.parameters: (String key, AnalyticNodeDescriptor desc)
focal_class.return: void
focal_class.signature: void mapInputDescriptor(String key, AnalyticNodeDescriptor desc)
focal_class.class_method_signature: AnalyticNodeDescriptor.mapTimeFrame(String key, String[] timeFrames)
focal_class.full_signature: public void mapTimeFrame(String key, String[] timeFrames)
focal_class.identifier: mapTimeFrame
focal_class.modifiers: public
focal_class.parameters: (String key, String[] timeFrames)
focal_class.return: void
focal_class.signature: void mapTimeFrame(String key, String[] timeFrames)
focal_class.class_method_signature: AnalyticNodeDescriptor.instantiateAnalytic()
focal_class.full_signature: public Analytic instantiateAnalytic()
focal_class.identifier: instantiateAnalytic
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: Analytic
focal_class.signature: Analytic instantiateAnalytic()
focal_class.class_method_signature: AnalyticNodeDescriptor.getInputNodeDescriptors()
focal_class.full_signature: public List<AnalyticNodeDescriptor> getInputNodeDescriptors()
focal_class.identifier: getInputNodeDescriptors
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: List<AnalyticNodeDescriptor>
focal_class.signature: List<AnalyticNodeDescriptor> getInputNodeDescriptors()
focal_class.class_method_signature: AnalyticNodeDescriptor.getInputNodeDescriptor(String sourceKey)
focal_class.full_signature: public AnalyticNodeDescriptor getInputNodeDescriptor(String sourceKey)
focal_class.identifier: getInputNodeDescriptor
focal_class.modifiers: public
focal_class.parameters: (String sourceKey)
focal_class.return: AnalyticNodeDescriptor
focal_class.signature: AnalyticNodeDescriptor getInputNodeDescriptor(String sourceKey)
focal_class.class_method_signature: AnalyticNodeDescriptor.getInputTimeframes(String sourceKey)
focal_class.full_signature: public String[] getInputTimeframes(String sourceKey)
focal_class.identifier: getInputTimeframes
focal_class.modifiers: public
focal_class.parameters: (String sourceKey)
focal_class.return: String[]
focal_class.signature: String[] getInputTimeframes(String sourceKey)
focal_class.class_method_signature: AnalyticNodeDescriptor.getTimeframeIndex(String tf)
focal_class.full_signature: public int getTimeframeIndex(String tf)
focal_class.identifier: getTimeframeIndex
focal_class.modifiers: public
focal_class.parameters: (String tf)
focal_class.return: int
focal_class.signature: int getTimeframeIndex(String tf)
focal_class.class_method_signature: AnalyticNodeDescriptor.loadSearchDescriptor(SearchDescriptor desc, SeriesSubscription subscription)
focal_class.full_signature: public void loadSearchDescriptor(SearchDescriptor desc, SeriesSubscription subscription)
focal_class.identifier: loadSearchDescriptor
focal_class.modifiers: public
focal_class.parameters: (SearchDescriptor desc, SeriesSubscription subscription)
focal_class.return: void
focal_class.signature: void loadSearchDescriptor(SearchDescriptor desc, SeriesSubscription subscription)
focal_class.class_method_signature: AnalyticNodeDescriptor.getRequiredSubscriptions(SeriesSubscription subscription)
focal_class.full_signature: public Map<String,SeriesSubscription> getRequiredSubscriptions(SeriesSubscription subscription)
focal_class.identifier: getRequiredSubscriptions
focal_class.modifiers: public
focal_class.parameters: (SeriesSubscription subscription)
focal_class.return: Map<String,SeriesSubscription>
focal_class.signature: Map<String,SeriesSubscription> getRequiredSubscriptions(SeriesSubscription subscription)
focal_method.body: public Analytic instantiateAnalytic() {
          Constructor<?>[] constructorArray = analyticClass.getConstructors();
          for (Constructor<?> constructor : constructorArray) {
              Class<?>[] parameterTypes = constructor.getParameterTypes();
              if(parameterTypes.length == constructorArgs.length) {
                  Object[] parameters = new Object[parameterTypes.length];
                  for (int i = 0;i < parameterTypes.length;i++) {
                      parameters[i] = new Integer(this.constructorArgs[i]);
                  }
                  try {
                      Analytic a = (Analytic)constructor.newInstance(parameters);
                      a.setName(nodeName);
                      return a;
                  }catch(Exception e) { }
              }
          }
          throw new IllegalStateException("Unable to instantiate Analytic class using constructor containing " + 
              (constructorArgs == null ? 0:constructorArgs.length) + " arguments");
      }
focal_method.class_method_signature: AnalyticNodeDescriptor.instantiateAnalytic()
focal_method.full_signature: public Analytic instantiateAnalytic()
focal_method.identifier: instantiateAnalytic
focal_method.invocations: getConstructors getParameterTypes newInstance setName
focal_method.modifiers: public
focal_method.parameters: ()
focal_method.return: Analytic
focal_method.signature: Analytic instantiateAnalytic()