question: private void createFieldAnnotation ( JCas jcas , String localName , int begin , int end ) { String fieldName = null ; if ( useSubstitution ) { fieldName = substitution . get ( localName ) ; if ( fieldName == null ) { fieldName = localName ; } } else { fieldName = localName ; } Field field = new Field ( jcas , begin , end ) ; field . setName ( fieldName ) ; field . addToIndexes ( ) ; }
target:  Create a field annotation for the given element name at the given location. If substitutions are used, the field is created using the substituted name.