public void writeMethod ( InjectorMethod method , SourceWriter writer , InjectorWriteContext writeContext ) throws NoSourceNameException { if ( method . isNative ( ) ) { writeNativeMethod ( writer , method . getMethodSignature ( ) , method . getMethodBody ( writeContext ) ) ; } else { writeMethod ( writer , method . getMethodSignature ( ) , method . getMethodBody ( writeContext ) ) ; } }
Writes the given method to the given source writer .