/**
  * Metoda pre zmenu niektorych poloziek pri presuvanej polozke pre anotacny typ.
  *
  * @param child
  * @param BTE
  */
 private void changeTravelerMeth(ConfigurationType child, ConfigurationType BTE) {
   // Vypis cieloveho jazykoveho elementu nepotrebujem
   child.getMappingOfTargetElement().setQNameOfTargetProcView(XMLProcessing.SKIP_PROCESS);
   // A pod property chcem zobrazit iba metainformacie nad vlastnostami
   child
       .getMappingOfConfigurationToSources()
       .setSupportedSources(new ElementKind[] {ElementKind.METHOD});
   // A kotva na BTE
   child.getMappingOfConfigurationToSources().setPositionAnchor(BTE);
   child
       .getMappingOfConfigurationToSources()
       .setRelPositionToAnchor(RelativePositionToAnchor.SAME_LOWER_LVL);
 }
 /**
  * Metoda pre zmenu niektorych poloziek pri presuvanej polozke pre anotacny typ.
  *
  * @param child
  * @param BTE
  */
 private void changeTravelerAnn(ConfigurationType child, ConfigurationType BTE) {
   // Vypis cieloveho jazykoveho elementu nepotrebujem
   child.getMappingOfTargetElement().setQNameOfTargetProcView(XMLProcessing.SKIP_PROCESS);
   // A pod annType chcem zobrazit iba metainformacie nad anotacnymi typmi
   child
       .getMappingOfConfigurationToSources()
       .setSupportedSources(new ElementKind[] {ElementKind.ANNOTATION_TYPE});
   // A napokon nastavim ako kotvu element pre BTE, tak bude jedna vetva
   // s unikatnym klucom BTE (nazov baliku) obsahovat iba metainformacie
   // o mapovani anotacnych typov z daneho balika
   child.getMappingOfConfigurationToSources().setPositionAnchor(BTE);
   child
       .getMappingOfConfigurationToSources()
       .setRelPositionToAnchor(RelativePositionToAnchor.SAME_LOWER_LVL);
 }
 /**
  * Metoda prehlada strom a najde konfiguraciu pre BTEConfiguration
  *
  * @param configuration
  * @return
  */
 private ConfigurationType getBTE(ConfigurationType configuration) {
   for (ConfigurationType conf : configuration.getChildren()) {
     if (conf.getMappingOfConfigurationToSources()
         .getConfAnnotation()
         .equals(BTEConfiguration.class)) {
       return conf;
     }
   }
   throw new RuntimeException(
       "ERROR:: MetaProcessor: No Configuration for BTEConfiguration" + " was found.");
 }