public static KeyLookup getCoreKey ( String oldKey ) { for ( KeyLookup lookup : KeyLookup . values ( ) ) { if ( lookup . oldKey . equals ( oldKey ) ) { return lookup ; } } return null ; }
Returns a CoreAnnotation class key for the given old - style FeatureLabel key if one exists ; null otherwise .