protected IExtraLanguageGeneratorContext createGeneratorContext ( IFileSystemAccess2 fsa , IGeneratorContext context , Resource resource ) { if ( context instanceof IExtraLanguageGeneratorContext ) { return ( IExtraLanguageGeneratorContext ) context ; } return new ExtraLanguageGeneratorContext ( context , fsa , this , resource , getPreferenceID ( ) ) ; }
Create the generator context for this generator .